evp(3) | LibreSSL | evp(3) |
NAME
evp - high-level cryptographic functionsDESCRIPTION
The EVP library provides a high-level interface to cryptographic functions.- For key agreement see EVP_PKEY_derive(3)
- For signing and verifying see EVP_PKEY_sign(3), EVP_PKEY_verify(3) and EVP_PKEY_verify_recover(3). However, note that these functions do not perform a digest of the data to be signed. Therefore normally you would use the EVP_DigestSign... functions for this purpose.
- For encryption and decryption see EVP_PKEY_encrypt(3) and EVP_PKEY_decrypt(3) respectively. However, note that these functions perform encryption and decryption only. As public key encryption is an expensive operation, normally you would wrap an encrypted message in a "digital envelope" using the EVP_Seal... and EVP_Open... functions.
SEE ALSO
EVP_DigestInit(3), EVP_EncryptInit(3), EVP_AEAD_CTX_init(3), EVP_OpenInit(3), EVP_SealInit(3), EVP_DigestSignInit(3), EVP_SignInit(3), EVP_VerifyInit(3), EVP_PKEY_new(3), EVP_PKEY_set1_RSA(3), EVP_PKEY_keygen(3), EVP_PKEY_print_private(3), EVP_PKEY_decrypt(3), EVP_PKEY_encrypt(3), EVP_PKEY_sign(3), EVP_PKEY_verify(3), EVP_PKEY_verify_recover(3), EVP_PKEY_derive(3), EVP_BytesToKey(3), OpenSSL_add_all_algorithms(3), engine(3)2015-10-26 | LibreSSL |