Home
last modified time | relevance | path

Searched refs:auth_ctx (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/crypto/ccp/
H A Dccp.c233 union authctx auth_ctx; in ccp_init_hmac_digest() local
243 axf->Init(&auth_ctx); in ccp_init_hmac_digest()
244 axf->Update(&auth_ctx, key, klen); in ccp_init_hmac_digest()
245 axf->Final(s->hmac.ipad, &auth_ctx); in ccp_init_hmac_digest()
246 explicit_bzero(&auth_ctx, sizeof(auth_ctx)); in ccp_init_hmac_digest()
H A Dccp_hardware.c1208 union authctx auth_ctx; in ccp_do_hmac_done() local
1221 axf->Init(&auth_ctx); in ccp_do_hmac_done()
1222 axf->Update(&auth_ctx, s->hmac.opad, axf->blocksize); in ccp_do_hmac_done()
1228 axf->Update(&auth_ctx, ihash, axf->hashsize); in ccp_do_hmac_done()
1229 axf->Final(s->hmac.res, &auth_ctx); in ccp_do_hmac_done()
1241 explicit_bzero(&auth_ctx, sizeof(auth_ctx)); in ccp_do_hmac_done()
/f-stack/freebsd/opencrypto/
H A Dcrypto.c414 void *auth_ctx, uint8_t padval) in hmac_init_pad() argument
428 axf->Init(auth_ctx); in hmac_init_pad()
429 axf->Update(auth_ctx, key, klen); in hmac_init_pad()
430 axf->Final(hmac_key, auth_ctx); in hmac_init_pad()
438 axf->Init(auth_ctx); in hmac_init_pad()
439 axf->Update(auth_ctx, hmac_key, axf->blocksize); in hmac_init_pad()
445 void *auth_ctx) in hmac_init_ipad() argument
448 hmac_init_pad(axf, key, klen, auth_ctx, HMAC_IPAD_VAL); in hmac_init_ipad()
453 void *auth_ctx) in hmac_init_opad() argument
456 hmac_init_pad(axf, key, klen, auth_ctx, HMAC_OPAD_VAL); in hmac_init_opad()
H A Dcryptodev.h678 void *auth_ctx);
680 void *auth_ctx);
/f-stack/dpdk/drivers/crypto/ccp/
H A Dccp_crypto.c2690 EVP_MD_CTX *auth_ctx = NULL; in process_ops_to_enqueue() local
2697 auth_ctx = EVP_MD_CTX_create(); in process_ops_to_enqueue()
2698 if (unlikely(!auth_ctx)) { in process_ops_to_enqueue()
2728 session, auth_ctx); in process_ops_to_enqueue()
2741 session, auth_ctx); in process_ops_to_enqueue()
2783 EVP_MD_CTX_destroy(auth_ctx); in process_ops_to_enqueue()
2860 EVP_MD_CTX *auth_ctx = NULL; in ccp_prepare_ops() local
2862 auth_ctx = EVP_MD_CTX_create(); in ccp_prepare_ops()
2863 if (unlikely(!auth_ctx)) { in ccp_prepare_ops()
2885 session, auth_ctx); in ccp_prepare_ops()
[all …]