Home
last modified time | relevance | path

Searched refs:crp_auth_key (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/crypto/openssl/
H A Dossl.c322 if (crp->crp_auth_key == NULL) { in ossl_process_hash()
327 axf->Setkey(&ctx, crp->crp_auth_key, in ossl_process_hash()
330 hmac_init_ipad(axf, crp->crp_auth_key, in ossl_process_hash()
351 if (crp->crp_auth_key == NULL) in ossl_process_hash()
354 hmac_init_opad(axf, crp->crp_auth_key, in ossl_process_hash()
/freebsd/sys/dev/qat/qat/
H A Dqat_ocf_utils.c129 authKey = crp->crp_auth_key; in qat_ocf_handle_session_update()
152 if (crp->crp_cipher_key || crp->crp_auth_key || in qat_ocf_handle_session_update()
/freebsd/sys/dev/glxsb/
H A Dglxsb_hash.c137 if (crp->crp_auth_key != NULL) in glxsb_hash_process()
138 glxsb_hash_key_setup(ses, crp->crp_auth_key, in glxsb_hash_process()
/freebsd/sys/crypto/blake2/
H A Dblake2_cryptodev.c264 if (crp->crp_auth_key != NULL) in blake2_cipher_process()
265 key = crp->crp_auth_key; in blake2_cipher_process()
/freebsd/sys/opencrypto/
H A Dcryptosoft.c258 if (crp->crp_auth_key != NULL) { in swcr_authcompute()
260 hmac_init_ipad(axf, crp->crp_auth_key, in swcr_authcompute()
264 axf->Setkey(&s.ctx, crp->crp_auth_key, in swcr_authcompute()
294 if (crp->crp_auth_key != NULL) in swcr_authcompute()
295 hmac_init_opad(axf, crp->crp_auth_key, in swcr_authcompute()
343 if (crp->crp_auth_key != NULL) { in swcr_gmac()
345 axf->Setkey(&s.ctx, crp->crp_auth_key, in swcr_gmac()
690 if (crp->crp_auth_key != NULL) { in swcr_ccm_cbc_mac()
692 axf->Setkey(&s.ctx, crp->crp_auth_key, csp->csp_auth_klen); in swcr_ccm_cbc_mac()
H A Dcryptodev.h464 const void *crp_auth_key; /* New auth key if non-NULL. */ member
H A Dcrypto.c1399 KASSERT(csp->csp_auth_key != NULL || crp->crp_auth_key != NULL, in crp_sanity()
/freebsd/sys/crypto/via/
H A Dpadlock_hash.c396 if (crp->crp_auth_key != NULL) in padlock_hash_process()
397 padlock_hash_key_setup(ses, crp->crp_auth_key, in padlock_hash_process()
/freebsd/sys/dev/qat_c2xxx/
H A Dqat_hw15.c659 if (crp != NULL && crp->crp_auth_key != NULL) in qat_hw15_crypto_setup_auth_setup()
660 key = crp->crp_auth_key; in qat_hw15_crypto_setup_auth_setup()
839 crp->crp_auth_key != NULL)) { in qat_hw15_crypto_setup_req_params()
/freebsd/sys/crypto/ccp/
H A Dccp.c554 if (crp->crp_auth_key != NULL) { in ccp_process()
556 ccp_init_hmac_digest(s, crp->crp_auth_key, csp->csp_auth_klen); in ccp_process()
/freebsd/sys/crypto/aesni/
H A Daesni.c782 if (crp->crp_auth_key != NULL) in aesni_cipher_mac()
783 key = crp->crp_auth_key; in aesni_cipher_mac()
/freebsd/sys/geom/eli/
H A Dg_eli_integrity.c574 crp->crp_auth_key = authkey; in g_eli_auth_run()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c2550 if (crp->crp_auth_key != NULL) in ccr_process()
2552 s->hmac.partial_digest_len, crp->crp_auth_key, in ccr_process()
2571 if (crp->crp_auth_key != NULL) in ccr_process()
2573 s->hmac.partial_digest_len, crp->crp_auth_key, in ccr_process()
/freebsd/sys/dev/sec/
H A Dsec.c1277 if (crp->crp_auth_key != NULL) in sec_process()
1278 memcpy(ses->ss_mkey, crp->crp_auth_key, csp->csp_auth_klen); in sec_process()
/freebsd/sys/dev/cesa/
H A Dcesa.c1757 if (!error && crp->crp_auth_key != NULL) in cesa_process()
1758 cesa_set_mkey(cs, csp->csp_auth_alg, crp->crp_auth_key, in cesa_process()
/freebsd/sys/dev/safe/
H A Dsafe.c865 if (crp->crp_auth_key != NULL) { in safe_process()
867 crp->crp_auth_key, csp->csp_auth_klen); in safe_process()
/freebsd/sys/dev/hifn/
H A Dhifn7751.c2475 if (crp->crp_auth_key != NULL) in hifn_process()
2476 mackey = crp->crp_auth_key; in hifn_process()
/freebsd/sys/dev/safexcel/
H A Dsafexcel.c1890 akey = crp->crp_auth_key; in safexcel_set_token()