Searched refs:evp_cipher (Results 1 – 2 of 2) sorted by relevance
/external/openssl/crypto/pkcs7/ |
D | pk7_doit.c | 268 const EVP_CIPHER *evp_cipher=NULL; in PKCS7_dataInit() local 288 evp_cipher=p7->d.signed_and_enveloped->enc_data->cipher; in PKCS7_dataInit() 289 if (evp_cipher == NULL) in PKCS7_dataInit() 299 evp_cipher=p7->d.enveloped->enc_data->cipher; in PKCS7_dataInit() 300 if (evp_cipher == NULL) in PKCS7_dataInit() 325 if (evp_cipher != NULL) in PKCS7_dataInit() 338 keylen=EVP_CIPHER_key_length(evp_cipher); in PKCS7_dataInit() 339 ivlen=EVP_CIPHER_iv_length(evp_cipher); in PKCS7_dataInit() 340 xalg->algorithm = OBJ_nid2obj(EVP_CIPHER_type(evp_cipher)); in PKCS7_dataInit() 344 if (EVP_CipherInit_ex(ctx, evp_cipher, NULL, NULL, NULL, 1)<=0) in PKCS7_dataInit() [all …]
|
/external/openssl/apps/ |
D | speed.c | 626 const EVP_CIPHER *evp_cipher=NULL; in MAIN() local 718 evp_cipher=EVP_get_cipherbyname(*argv); in MAIN() 719 if(!evp_cipher) in MAIN() 723 if(!evp_cipher && !evp_md) in MAIN() 1956 if (evp_cipher) in MAIN() 1961 names[D_EVP]=OBJ_nid2ln(evp_cipher->nid); in MAIN() 1970 EVP_DecryptInit_ex(&ctx,evp_cipher,NULL,key16,iv); in MAIN() 1972 EVP_EncryptInit_ex(&ctx,evp_cipher,NULL,key16,iv); in MAIN()
|