Home
last modified time | relevance | path

Searched refs:crp_cipher_key (Results 1 – 21 of 21) sorted by relevance

/freebsd-13.1/sys/geom/eli/
H A Dg_eli_privacy.c115 if (sc != NULL && crp->crp_cipher_key != NULL) in g_eli_crypto_read_done()
116 g_eli_key_drop(sc, __DECONST(void *, crp->crp_cipher_key)); in g_eli_crypto_read_done()
168 if (crp->crp_cipher_key != NULL) in g_eli_crypto_write_done()
169 g_eli_key_drop(sc, __DECONST(void *, crp->crp_cipher_key)); in g_eli_crypto_write_done()
334 crp->crp_cipher_key = g_eli_key_hold(sc, dstoff, in g_eli_crypto_run()
H A Dg_eli_integrity.c175 if (crp->crp_cipher_key != NULL) in g_eli_auth_read_done()
176 g_eli_key_drop(sc, __DECONST(void *, crp->crp_cipher_key)); in g_eli_auth_read_done()
318 if (crp->crp_cipher_key != NULL) in g_eli_auth_write_done()
319 g_eli_key_drop(sc, __DECONST(void *, crp->crp_cipher_key)); in g_eli_auth_write_done()
551 crp->crp_cipher_key = g_eli_key_hold(sc, dstoff, in g_eli_auth_run()
/freebsd-13.1/sys/mips/nlm/dev/sec/
H A Dnlmseclib.c176 if (cmd->crp->crp_cipher_key != NULL) in nlm_crypto_do_cipher()
177 cipkey = cmd->crp->crp_cipher_key; in nlm_crypto_do_cipher()
227 if (cmd->crp->crp_cipher_key != NULL) in nlm_crypto_do_cipher_digest()
228 cipkey = cmd->crp->crp_cipher_key; in nlm_crypto_do_cipher_digest()
/freebsd-13.1/sys/crypto/openssl/
H A Dossl_chacha20.c55 if (crp->crp_cipher_key != NULL) in ossl_chacha20()
56 cipher_key = crp->crp_cipher_key; in ossl_chacha20()
157 if (crp->crp_cipher_key != NULL) in ossl_chacha20_poly1305_encrypt()
158 cipher_key = crp->crp_cipher_key; in ossl_chacha20_poly1305_encrypt()
304 if (crp->crp_cipher_key != NULL) in ossl_chacha20_poly1305_decrypt()
305 cipher_key = crp->crp_cipher_key; in ossl_chacha20_poly1305_decrypt()
/freebsd-13.1/sys/dev/qat/
H A Dqat_hw17.c353 if (crp != NULL && crp->crp_cipher_key != NULL) in qat_hw17_crypto_setup_cipher_cdesc()
354 key = crp->crp_cipher_key; in qat_hw17_crypto_setup_cipher_cdesc()
419 if (crp != NULL && crp->crp_cipher_key != NULL) in qat_hw17_crypto_setup_auth_cdesc()
420 key = crp->crp_cipher_key; in qat_hw17_crypto_setup_auth_cdesc()
597 if (__predict_false(crp->crp_cipher_key != NULL || in qat_hw17_crypto_setup_req_params()
H A Dqat_hw15.c559 if (crp != NULL && crp->crp_cipher_key != NULL) in qat_hw15_crypto_setup_cipher_config()
560 key = crp->crp_cipher_key; in qat_hw15_crypto_setup_cipher_config()
839 if (__predict_false(crp->crp_cipher_key != NULL || in qat_hw15_crypto_setup_req_params()
/freebsd-13.1/sys/crypto/via/
H A Dpadlock_cipher.c201 if (crp->crp_cipher_key != NULL) { in padlock_cipher_process()
202 padlock_cipher_key_setup(ses, crp->crp_cipher_key, in padlock_cipher_process()
/freebsd-13.1/sys/opencrypto/
H A Dcryptosoft.c138 if (crp->crp_cipher_key != NULL) { in swcr_encdec()
140 crp->crp_cipher_key, csp->csp_cipher_klen); in swcr_encdec()
533 if (crp->crp_cipher_key != NULL) in swcr_gcm()
534 exf->setkey(swe->sw_kschedule, crp->crp_cipher_key, in swcr_gcm()
819 if (crp->crp_cipher_key != NULL) in swcr_ccm()
820 exf->setkey(swe->sw_kschedule, crp->crp_cipher_key, in swcr_ccm()
962 if (crp->crp_cipher_key != NULL) in swcr_chacha20_poly1305()
963 axf->Setkey(&ctx, crp->crp_cipher_key, csp->csp_cipher_klen); in swcr_chacha20_poly1305()
980 if (crp->crp_cipher_key != NULL) in swcr_chacha20_poly1305()
981 exf->setkey(swe->sw_kschedule, crp->crp_cipher_key, in swcr_chacha20_poly1305()
H A Dcryptodev.h503 const void *crp_cipher_key; /* New cipher key if non-NULL. */ member
H A Dcrypto.c1448 crp->crp_cipher_key != NULL, in crp_sanity()
/freebsd-13.1/sys/mips/cavium/cryptocteon/
H A Dcryptocteon.c378 if (crp->crp_cipher_key != NULL) in cryptocteon_process()
379 memcpy(od->octo_enckey, crp->crp_cipher_key, od->octo_encklen); in cryptocteon_process()
/freebsd-13.1/sys/crypto/armv8/
H A Darmv8_crypto.c449 if (crp->crp_cipher_key != NULL) { in armv8_crypto_cipher_process()
450 armv8_crypto_cipher_setup(ses, csp, crp->crp_cipher_key, in armv8_crypto_cipher_process()
/freebsd-13.1/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c2856 if (crp->crp_cipher_key != NULL) in ccr_process()
2857 ccr_aes_setkey(s, crp->crp_cipher_key, in ccr_process()
2872 if (crp->crp_cipher_key != NULL) in ccr_process()
2873 ccr_aes_setkey(s, crp->crp_cipher_key, in ccr_process()
2884 if (crp->crp_cipher_key != NULL) { in ccr_process()
2885 t4_init_gmac_hash(crp->crp_cipher_key, in ccr_process()
2887 ccr_aes_setkey(s, crp->crp_cipher_key, in ccr_process()
2910 if (crp->crp_cipher_key != NULL) { in ccr_process()
2911 ccr_aes_setkey(s, crp->crp_cipher_key, in ccr_process()
/freebsd-13.1/sys/dev/glxsb/
H A Dglxsb.c666 if (crp->crp_cipher_key != NULL) in glxsb_crypto_encdec()
667 key = crp->crp_cipher_key; in glxsb_crypto_encdec()
/freebsd-13.1/sys/crypto/ccp/
H A Dccp.c565 if (crp->crp_cipher_key != NULL) in ccp_process()
566 ccp_aes_setkey(s, csp->csp_cipher_alg, crp->crp_cipher_key, in ccp_process()
/freebsd-13.1/sys/crypto/aesni/
H A Daesni.c759 if (crp->crp_cipher_key != NULL) in aesni_cipher_crypt()
760 aesni_cipher_setup_common(ses, csp, crp->crp_cipher_key, in aesni_cipher_crypt()
/freebsd-13.1/sys/dev/sec/
H A Dsec.c1278 if (crp->crp_cipher_key != NULL) in sec_process()
1279 memcpy(ses->ss_key, crp->crp_cipher_key, csp->csp_cipher_klen); in sec_process()
/freebsd-13.1/sys/dev/cesa/
H A Dcesa.c1756 if (crp->crp_cipher_key != NULL) { in cesa_process()
1757 memcpy(cs->cs_key, crp->crp_cipher_key, in cesa_process()
/freebsd-13.1/sys/dev/safe/
H A Dsafe.c817 if (crp->crp_cipher_key != NULL) in safe_process()
818 safe_setup_enckey(ses, crp->crp_cipher_key); in safe_process()
/freebsd-13.1/sys/dev/hifn/
H A Dhifn7751.c2429 if (crp->crp_cipher_key != NULL) in hifn_process()
2430 cmd->ck = crp->crp_cipher_key; in hifn_process()
/freebsd-13.1/sys/dev/safexcel/
H A Dsafexcel.c1894 ckey = crp->crp_cipher_key; in safexcel_set_token()