/freebsd/sys/crypto/openssl/ |
H A D | ossl.c | 322 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 D | qat_ocf_utils.c | 129 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 D | glxsb_hash.c | 137 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 D | blake2_cryptodev.c | 264 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 D | cryptosoft.c | 258 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 D | cryptodev.h | 464 const void *crp_auth_key; /* New auth key if non-NULL. */ member
|
H A D | crypto.c | 1399 KASSERT(csp->csp_auth_key != NULL || crp->crp_auth_key != NULL, in crp_sanity()
|
/freebsd/sys/crypto/via/ |
H A D | padlock_hash.c | 396 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 D | qat_hw15.c | 659 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 D | ccp.c | 554 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 D | aesni.c | 782 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 D | g_eli_integrity.c | 574 crp->crp_auth_key = authkey; in g_eli_auth_run()
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t4_crypto.c | 2550 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 D | sec.c | 1277 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 D | cesa.c | 1757 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 D | safe.c | 865 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 D | hifn7751.c | 2475 if (crp->crp_auth_key != NULL) in hifn_process() 2476 mackey = crp->crp_auth_key; in hifn_process()
|
/freebsd/sys/dev/safexcel/ |
H A D | safexcel.c | 1890 akey = crp->crp_auth_key; in safexcel_set_token()
|