Questions tagged [libcrypto]

The OpenSSL crypto library implements a wide range of cryptographic algorithms used in various Internet standards. The services provided by this library are used by the OpenSSL implementations of SSL, TLS and S/MIME, and they have also been used to implement SSH, OpenPGP, and other cryptographic standards.

The OpenSSL crypto library implements a wide range of cryptographic algorithms used in various Internet standards. The services provided by this library are used by the OpenSSL implementations of SSL, TLS and S/MIME, and they have also been used to implement SSH, OpenPGP, and other cryptographic standards.

libcrypto consists of a number of sub-libraries that implement the individual algorithms. The functionality includes symmetric encryption, public key cryptography and key agreement, certificate handling, cryptographic hash functions and a cryptographic pseudo-random number generator.

More Deatails

125 questions
3
votes
1 answer

Can not start aerospike on centos 6.3, no version information available (required by bin/asd)

Has any body encounter this problem? OS Version: CentOS release 6.3 (Final) Aerospike version: Community Edition 3.12.1 Error Message: # bin/aerospike start error: start failed due to an error. /home/work/aerospike-server/bin/asd: /lib64/libz.so.1:…
arganzheng
  • 1,103
  • 13
  • 18
3
votes
1 answer

Why is pip install pyopenssl==0.13 failing?

I'm trying to install PyOpenSSL 0.13 on my Macbook Pro (OSX version 10.11, El-Capitan). But it keeps failing. These are the steps I took Download and install Command Line Tools (OSX 10.11) for Xcode 7.3.1 from here $ virtualenv my-new-virtualenv $…
Saqib Ali
  • 9,138
  • 28
  • 99
  • 216
3
votes
1 answer

Parameter details of OpenSSL's AES_ctr128_encrypt()

I am trying to understand the parameters of the following function in openSSL crypto library. void AES_ctr128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char ivec[AES_BLOCK_SIZE], …
kupamanduka
  • 33
  • 1
  • 4
3
votes
2 answers

How to solve ssh: /usr/lib64/libcrypto.so.10: no version information available

I am trying to do ssh and got following message: ]#ssh ssh: /usr/lib64/libcrypto.so.10: no version information available (required by ssh) ssh: /usr/lib64/libcrypto.so.10: no version information available (required by ssh) ssh:…
Pradip Das
  • 696
  • 1
  • 7
  • 16
3
votes
1 answer

Android.mk Unable to link with libcrypto

Case: I am building an app which uses libcrypto and libssl. I am trying to use prebuilt libcrypto.so and libssl.so and compile my application. But I keep getting undefined reference errors. My App/Android.mk LOCAL_PATH := $(call…
Martin75
  • 41
  • 3
3
votes
1 answer

Linking to SSL shared library of different versions

My app uses only functions supported in OpenSSL 0.9.8 and later, but I compile it on a system with a 1.0.0 library installed (with -lcrypto), and the app requires libcrypto.so.1.0.0 or later at install time. OpenSSL apparently compiles the entire…
ajjsd
  • 43
  • 5
3
votes
1 answer

iOS project using sqlcipher doesn't build anymore after installing Xcode 5

I'm developing an application using sqlcipher though i walked through sqlcipher tutorial to install it and everything worked well on simulators and devices using OSX 10.8.5 and Xcode 4.6. After installing Xcode 5 the project failed to build with…
Basem Saadawy
  • 1,778
  • 2
  • 19
  • 30
3
votes
1 answer

EVP_CIPHER* to name

I've got an EVP_CIPHER* by using EVP_get_cipherbyname("AES-256-CTR"), now I would like to find a way to get from the EVP_CIPHER* back to the original name, in this case "AES-256-CTR". Is there a method to do this in libcrypto?
X-Istence
  • 15,338
  • 6
  • 52
  • 73
2
votes
1 answer

nothing provides libcrypto.so.1.0.0(OPENSSL_1.0.0)(64bit)

I ran over a sles 12 server and i got this issue when I try to install php7-openssl-7.2.13-155.1.x86_64.rpm : zypper in ./php7-openssl-7.2.13-155.1.x86_64.rpm Loading repository data... Reading installed packages... Resolving package…
Fardouk
  • 21
  • 2
2
votes
0 answers

Looping Through ASN.1 Sequence Using OpenSSL Libcrypto

Given a sequence object, how can one iterate through the objects inside it? I've tried ASN1_TYPE_unpack_sequence but have no idea how to interpret the objects it returns. Here is a toy example, the DER encoding of a sequence containing an empty…
Arya Pourtabatabaie
  • 575
  • 1
  • 6
  • 16
2
votes
3 answers

How do I know if the 'usedforsecurity' flag is supported by hashlib.md5?

When I run the following on my Macbook, I get the error: >>> import hashlib >>> hashlib.md5(usedforsecurity=False) Traceback (most recent call last): File "", line 1, in TypeError: openssl_md5() takes no keyword arguments But when…
robert
  • 1,163
  • 10
  • 19
2
votes
0 answers

Golang cgo error while loading shared library (libcrypto) on other computers

I wrote a go package that is just a wrapper for a C program, which requires openssl to work. My CGO setup is as follow: // #cgo CFLAGS: -Imy/library/include -Imy/library/src -I/usr/local/opt/openssl/include // #cgo LDFLAGS: -L/usr/include/openssl…
gbalduzzi
  • 7,129
  • 18
  • 44
2
votes
0 answers

Node.js and socket.io with SSL - Segmentation fault in libcrypto

My server runs CentOS 7 with Node.js and NPM installed by Yum. Dependencies installed and compiled by NPM: socket.io, express Node.js 6.12.3 Socket.io 2.0.4 Express 4.16.2 SSL cert generated by Let's Encrypt. I'm receiving an error in…
Arvy
  • 822
  • 1
  • 14
  • 24
2
votes
1 answer

Difference between EVP_PKEY_sign and EVP_DigestSignInit?

So far I've seen two different approaches to RSA signing with OpenSSL: With EVP_PKEY_sign ctx = EVP_PKEY_CTX_new(signing_key, NULL /* no engine */); if (!ctx) /* Error occurred */ if (EVP_PKEY_sign_init(ctx) <= 0) /* Error */ if…
olegst
  • 1,069
  • 9
  • 31
2
votes
2 answers

Encryption with AES-256-GCM using (LibreSSL) libcrypto

Given an appropriate key and iv, this C program should encrypt stdin, outputting to stdout. EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); EVP_EncryptInit(ctx, EVP_aes_256_gcm(), key, iv); const size_t block_size = 128; unsigned char…
user1741222
1
2
3
8 9