| /freebsd-13.1/sys/geom/eli/ |
| H A D | g_eli_privacy.c | 115 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 D | g_eli_integrity.c | 175 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 D | nlmseclib.c | 176 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 D | ossl_chacha20.c | 55 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 D | qat_hw17.c | 353 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 D | qat_hw15.c | 559 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 D | padlock_cipher.c | 201 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 D | cryptosoft.c | 138 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 D | cryptodev.h | 503 const void *crp_cipher_key; /* New cipher key if non-NULL. */ member
|
| H A D | crypto.c | 1448 crp->crp_cipher_key != NULL, in crp_sanity()
|
| /freebsd-13.1/sys/mips/cavium/cryptocteon/ |
| H A D | cryptocteon.c | 378 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 D | armv8_crypto.c | 449 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 D | t4_crypto.c | 2856 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 D | glxsb.c | 666 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 D | ccp.c | 565 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 D | aesni.c | 759 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 D | sec.c | 1278 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 D | cesa.c | 1756 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 D | safe.c | 817 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 D | hifn7751.c | 2429 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 D | safexcel.c | 1894 ckey = crp->crp_cipher_key; in safexcel_set_token()
|