libcrypto

OpenSSL's core cryptography library, which programs call to encrypt, hash, sign and generate keys.

In more detail

OpenSSL ships two libraries: libssl for the TLS protocol and libcrypto for the algorithms underneath. Its EVP functions, the high-level envelope interface, let code use any cipher through one set of calls, such as EVP_CipherInit_ex2 to set up AES-GCM or ChaCha20-Poly1305. Web servers, the openssl command and many language runtimes rely on it, so a flaw in libcrypto affects a large share of the internet.

Example

aead.py wraps EVP_CipherInit_ex2 and friends in libcrypto

Related terms

Taught in

References