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

155 questions
4
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
4
votes
1 answer

Segfault with multithreaded curl request

I'm having some trouble with a C++ program here. Basically I've written a simple wrapper for http requests, with the ability to do multiple requests at once. Works absolutely fine, but when I do httpS requests, it crashes randomly in multithreaded…
th0ms0n
  • 43
  • 1
  • 3
4
votes
1 answer

Static linking to libcrypto++, with g++

I am trying to compile a program on my system with Debian Wheezy and g++4.7. I want it to be able to run on another system with Debian Squeeze (and no recent g++). I can't compile the program on the Squeeze, because I use certain C++11 features the…
Haatschii
  • 9,021
  • 10
  • 58
  • 95
3
votes
1 answer

How to fix an error `libcrypto.so.3: cannot open shared object file: No such file or directory"?

Premise I want to share a single keyboard between two computers(ArchLinux and Windows), and there are some options to realize it on. I choiced an option using Barrier. Expect Following steps bellow on a ArchLinux machine and verify there are no…
koijigen
  • 166
  • 1
  • 2
  • 8
3
votes
0 answers

How to create x25519 public key from XZ coordinates?

As far as I understand, x25519 DH function used on Curve25519 uses only Xcoordinates as I can read in the wikipedia definition: The protocol uses compressed elliptic point (only X coordinates), so it allows efficient use of the Montgomery ladder for…
Guillaume Cisco
  • 2,859
  • 24
  • 25
3
votes
0 answers

Why is Python Complaining About libcrypto When Importing pysftp on macOS Catalina v10.15.1?

I just upgraded my MacBook to Catalina v10.15.1. When executing my python script which only does one thing, imports pysftp, I get the following output: WARNING: Executing a script that is loading libcrypto in an unsafe way. This will fail in a…
cDreamer
  • 385
  • 5
  • 18
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,294
  • 15
  • 20
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
  • 11,931
  • 41
  • 133
  • 272
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
  • 728
  • 1
  • 7
  • 16
3
votes
2 answers

Get x509 certificate hash with openssl library

I'm currently working on an app, which uses the openssl library (libcrypto) to generate certificates. Now I have to get the hash of a already existing certificate. When I use my Terminal I am able to generate the hash value by using openssl x509…
Sn0wfreeze
  • 1,959
  • 3
  • 18
  • 32
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
  • 1
  • 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,808
  • 2
  • 20
  • 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
  • 16,324
  • 6
  • 57
  • 74
1
2
3
10 11