Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
EVP_CIPHER_freeのようなメソッドが見つかりませんopenssl/evp.h。EVP_CIPHER を解放する必要はありませんか?
EVP_CIPHER_free
openssl/evp.h
いいえ、あなたはしません。init 関数は、実際には、最初の引数として渡すEVP_CipherInit_exEVP_CIPHER_CTX object の変数を初期化しています。ectx終わったら電話EVP_CIPHER_CTX_cleanup(&ectx)することを忘れないでください。
EVP_CipherInit_ex
ectx
EVP_CIPHER_CTX_cleanup(&ectx)