Return a new reference to the EVP_CIPHER used by a cipher context.
Synopsis
Declared in <openssl/evp.h>
EVP_CIPHER*
EVP_CIPHER_CTX_get1_cipher(EVP_CIPHER_CTX* ctx);
Return Value
Cipher with an incremented reference count, or NULL if unset; free with EVP_CIPHER_free.
Parameters
Name |
Description |
ctx |
Cipher context to query. |
Created with MrDocs