EVP_CIPHER_type
alg_nid = EVP_CIPHER_type(cipher);
if (EVP_CIPHER_type(cipher) == NID_des_ede3_cbc)
#define EVP_CIPHER_CTX_type(c) EVP_CIPHER_type(EVP_CIPHER_CTX_cipher(c))
int EVP_CIPHER_type(const EVP_CIPHER *ctx);
LCRYPTO_ALIAS(EVP_CIPHER_type);
LCRYPTO_USED(EVP_CIPHER_type);
xalg->algorithm = OBJ_nid2obj(EVP_CIPHER_type(evp_cipher));
i = EVP_CIPHER_type(cipher);
switch (EVP_CIPHER_type(cipher)) {