Home
last modified time | relevance | path

Searched refs:evp_ctx (Results 1 – 3 of 3) sorted by relevance

/external/openssh/
Dmac.c119 HMAC_Init(&mac->evp_ctx, mac->key, mac->key_len, mac->evp_md); in mac_init()
143 HMAC_Init(&mac->evp_ctx, NULL, 0, NULL); in mac_compute()
144 HMAC_Update(&mac->evp_ctx, b, sizeof(b)); in mac_compute()
145 HMAC_Update(&mac->evp_ctx, data, datalen); in mac_compute()
146 HMAC_Final(&mac->evp_ctx, m, NULL); in mac_compute()
166 HMAC_cleanup(&mac->evp_ctx); in mac_clear()
Dkex.h104 HMAC_CTX evp_ctx; member
/external/openssl/crypto/pkcs7/
Dpk7_doit.c428 EVP_CIPHER_CTX *evp_ctx=NULL; in PKCS7_dataDecode() local
568 evp_ctx=NULL; in PKCS7_dataDecode()
569 BIO_get_cipher_ctx(etmp,&evp_ctx); in PKCS7_dataDecode()
570 if (EVP_CipherInit_ex(evp_ctx,evp_cipher,NULL,NULL,NULL,0) <= 0) in PKCS7_dataDecode()
572 if (EVP_CIPHER_asn1_to_param(evp_ctx,enc_alg->parameter) < 0) in PKCS7_dataDecode()
575 tkeylen = EVP_CIPHER_CTX_key_length(evp_ctx); in PKCS7_dataDecode()
579 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0) in PKCS7_dataDecode()
588 if (eklen != EVP_CIPHER_CTX_key_length(evp_ctx)) { in PKCS7_dataDecode()
593 if(!EVP_CIPHER_CTX_set_key_length(evp_ctx, eklen)) in PKCS7_dataDecode()
605 if (EVP_CipherInit_ex(evp_ctx,NULL,NULL,ek,NULL,0) <= 0) in PKCS7_dataDecode()