Home
last modified time | relevance | path

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

/mirbsd/src/usr.bin/ssh/
Dmac.c112 HMAC_Init(&mac->evp_ctx, mac->key, mac->key_len, mac->evp_md); in mac_init()
136 HMAC_Init(&mac->evp_ctx, NULL, 0, NULL); in mac_compute()
137 HMAC_Update(&mac->evp_ctx, b, sizeof(b)); in mac_compute()
138 HMAC_Update(&mac->evp_ctx, data, datalen); in mac_compute()
139 HMAC_Final(&mac->evp_ctx, m, NULL); in mac_compute()
159 HMAC_cleanup(&mac->evp_ctx); in mac_clear()
Dkex.h97 HMAC_CTX evp_ctx; member
/mirbsd/src/lib/libssl/src/crypto/pkcs7/
Dpk7_doit.c306 EVP_CIPHER_CTX *evp_ctx=NULL; in PKCS7_dataDecode() local
436 evp_ctx=NULL; in PKCS7_dataDecode()
437 BIO_get_cipher_ctx(etmp,&evp_ctx); in PKCS7_dataDecode()
438 EVP_CipherInit_ex(evp_ctx,evp_cipher,NULL,NULL,NULL,0); in PKCS7_dataDecode()
439 if (EVP_CIPHER_asn1_to_param(evp_ctx,enc_alg->parameter) < 0) in PKCS7_dataDecode()
442 if (jj != EVP_CIPHER_CTX_key_length(evp_ctx)) { in PKCS7_dataDecode()
447 if(!EVP_CIPHER_CTX_set_key_length(evp_ctx, jj)) in PKCS7_dataDecode()
454 EVP_CipherInit_ex(evp_ctx,NULL,NULL,tmp,NULL,0); in PKCS7_dataDecode()