Return the NID of the cipher currently bound to a cipher context.
Declared in <openssl/evp.h>
<openssl/evp.h>
int EVP_CIPHER_CTX_get_nid(EVP_CIPHER_CTX const* ctx);
Algorithm NID, or NID_undef if no cipher is set.