来源:https://www.openssl.org/docs/man1.1.1/man3/EVP_aes_256_cbc.html
头文件和使用方法
#include <openssl/evp.h>
const EVP_CIPHER *EVP_ciphername(void)
函数返回的是 const
类型,不需要 release
操作
例如 const EVP_CIPHER *p = EVP_aes_256_cbc();
算法列表
EVP_aes_128_cbc
EVP_aes_192_cbc
EVP_aes_256_cbc
EVP_aes_128_cfb
EVP_aes_192_cfb
EVP_aes_256_cfb
EVP_aes_128_cfb1
EVP_aes_192_cfb1
EVP_aes_256_cfb1
EVP_aes_128_cfb8
EVP_aes_192_cfb8
EVP_aes_256_cfb8
EVP_aes_128_cfb128
EVP_aes_192_cfb128
EVP_aes_256_cfb128
EVP_aes_128_ctr
EVP_aes_192_ctr
EVP_aes_256_ctr
EVP_aes_128_ecb
EVP_aes_192_ecb
EVP_aes_256_ecb
EVP_aes_128_ofb
EVP_aes_192_ofb
EVP_aes_256_ofb
EVP_aes_128_cbc_hmac_sha1
EVP_aes_256_cbc_hmac_sha1
EVP_aes_128_cbc_hmac_sha256
EVP_aes_256_cbc_hmac_sha256
EVP_aes_128_ccm
EVP_aes_192_ccm
EVP_aes_256_ccm
EVP_aes_128_gcm
EVP_aes_192_gcm
EVP_aes_256_gcm
EVP_aes_128_ocb
EVP_aes_192_ocb
EVP_aes_256_ocb
EVP_aes_128_wrap
EVP_aes_192_wrap
EVP_aes_256_wrap
EVP_aes_128_wrap_pad
EVP_aes_192_wrap_pad
EVP_aes_256_wrap_pad
EVP_aes_128_xts
EVP_aes_256_xts