Return the NID of the cipher currently bound to a cipher context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_CTX_get_nid(EVP_CIPHER_CTX const* ctx);

Return Value

Algorithm NID, or NID_undef if no cipher is set.

Parameters

Name

Description

ctx

Cipher context to query.

Created with MrDocs