EVP_CIPHER_get_nid

Return the NID associated with a cipher algorithm.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_get_nid(EVP_CIPHER const* cipher);

Return Value

Cipher NID, or NID_undef if unknown or uninitialized.

Parameters

NameDescription
cipherCipher method to query.