| /freebsd-14.2/sys/crypto/armv8/ |
| H A D | armv8_crypto.c | 161 switch (csp->csp_cipher_alg) { in armv8_crypto_probesession() 182 switch (csp->csp_cipher_alg) { in armv8_crypto_probesession() 222 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in armv8_crypto_cipher_setup() 239 if ((csp->csp_cipher_alg == CRYPTO_AES_XTS) || in armv8_crypto_cipher_setup() 240 (csp->csp_cipher_alg == CRYPTO_AES_CBC)) in armv8_crypto_cipher_setup() 244 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in armv8_crypto_cipher_setup() 247 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16) { in armv8_crypto_cipher_setup() 321 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16) { in armv8_crypto_cipher_process() 349 switch (csp->csp_cipher_alg) { in armv8_crypto_cipher_process()
|
| /freebsd-14.2/sys/dev/qat/include/ |
| H A D | qat_ocf_utils.h | 36 if (CRYPTO_AES_NIST_GCM_16 == csp->csp_cipher_alg || in is_sep_aad_supported() 37 CRYPTO_AES_NIST_GMAC == csp->csp_cipher_alg) in is_sep_aad_supported()
|
| /freebsd-14.2/sys/crypto/openssl/ |
| H A D | ossl.c | 136 switch (csp->csp_cipher_alg) { in ossl_lookup_cipher() 180 if (csp->csp_cipher_alg != CRYPTO_CHACHA20 && !sc->has_aes) in ossl_probesession() 187 csp->csp_cipher_alg == CRYPTO_CHACHA20 || in ossl_probesession() 193 switch (csp->csp_cipher_alg) { in ossl_probesession() 302 if (csp->csp_cipher_alg != CRYPTO_CHACHA20_POLY1305) in ossl_newsession() 410 if (csp->csp_cipher_alg == CRYPTO_CHACHA20_POLY1305) { in ossl_process_aead()
|
| /freebsd-14.2/sys/crypto/aesni/ |
| H A D | aesni.c | 183 switch (csp->csp_cipher_alg) { in aesni_cipher_supported() 237 switch (csp->csp_cipher_alg) { in aesni_probesession() 548 } else if (csp->csp_cipher_alg == CRYPTO_AES_CCM_16) { in aesni_cipher_setup() 555 kt = (csp->csp_cipher_alg == 0); in aesni_cipher_setup() 579 switch (csp->csp_cipher_alg) { in aesni_cipher_process() 638 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16 || in aesni_cipher_crypt() 639 csp->csp_cipher_alg == CRYPTO_AES_CCM_16) { in aesni_cipher_crypt() 687 switch (csp->csp_cipher_alg) { in aesni_cipher_crypt()
|
| H A D | aesni_wrap.c | 452 switch (csp->csp_cipher_alg) { in aesni_cipher_setup_common() 460 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in aesni_cipher_setup_common() 482 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in aesni_cipher_setup_common()
|
| /freebsd-14.2/sys/crypto/ccp/ |
| H A D | ccp.c | 339 switch (csp->csp_cipher_alg) { in ccp_cipher_supported() 355 return (ccp_aes_check_keylen(csp->csp_cipher_alg, in ccp_cipher_supported() 377 switch (csp->csp_cipher_alg) { in ccp_probesession() 433 switch (csp->csp_cipher_alg) { in ccp_newsession() 502 ccp_aes_setkey(s, csp->csp_cipher_alg, in ccp_newsession() 559 ccp_aes_setkey(s, csp->csp_cipher_alg, crp->crp_cipher_key, in ccp_process()
|
| H A D | ccp_hardware.c | 1359 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16) in ccp_collect_iv() 1362 if (csp->csp_cipher_alg == CRYPTO_AES_XTS && in ccp_collect_iv() 1374 if (csp->csp_cipher_alg != CRYPTO_AES_XTS) in ccp_collect_iv() 1505 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in ccp_do_blkcipher() 1526 switch (csp->csp_cipher_alg) { in ccp_do_blkcipher() 1548 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in ccp_do_blkcipher() 1555 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) { in ccp_do_blkcipher() 1611 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in ccp_do_blkcipher() 1635 if (csp->csp_cipher_alg == CRYPTO_AES_ICM) in ccp_do_blkcipher()
|
| /freebsd-14.2/sys/opencrypto/ |
| H A D | crypto.c | 567 switch (csp->csp_cipher_alg) { in crypto_cipher() 767 if (!alg_is_compression(csp->csp_cipher_alg)) in check_csp() 779 if (!alg_is_cipher(csp->csp_cipher_alg)) in check_csp() 783 if (csp->csp_cipher_alg != CRYPTO_NULL_CBC) { in check_csp() 796 if (csp->csp_cipher_alg != 0 || csp->csp_cipher_klen != 0) in check_csp() 843 if (!alg_is_aead(csp->csp_cipher_alg)) in check_csp() 853 switch (csp->csp_cipher_alg) { in check_csp() 884 if (!alg_is_cipher(csp->csp_cipher_alg)) in check_csp() 886 if (csp->csp_cipher_alg != CRYPTO_NULL_CBC) { in check_csp()
|
| H A D | cryptosoft.c | 1462 if (csp->csp_cipher_alg != CRYPTO_NULL_CBC && in swcr_cipher_supported() 1477 switch (csp->csp_cipher_alg) { in swcr_probesession() 1485 switch (csp->csp_cipher_alg) { in swcr_probesession() 1502 switch (csp->csp_cipher_alg) { in swcr_probesession() 1523 switch (csp->csp_cipher_alg) { in swcr_probesession() 1563 switch (csp->csp_cipher_alg) { in swcr_newsession() 1576 switch (csp->csp_cipher_alg) { in swcr_newsession() 1597 switch (csp->csp_cipher_alg) { in swcr_newsession() 1622 switch (csp->csp_cipher_alg) { in swcr_newsession() 1639 if (csp->csp_cipher_alg == CRYPTO_NULL_CBC) { in swcr_newsession()
|
| H A D | ktls_ocf.c | 1017 csp.csp_cipher_alg = CRYPTO_AES_NIST_GCM_16; in ktls_ocf_try() 1024 recrypt_csp.csp_cipher_alg = CRYPTO_AES_ICM; in ktls_ocf_try() 1065 csp.csp_cipher_alg = CRYPTO_AES_CBC; in ktls_ocf_try() 1092 csp.csp_cipher_alg = CRYPTO_CHACHA20_POLY1305; in ktls_ocf_try()
|
| H A D | cryptodev.h | 350 int csp_cipher_alg; member
|
| /freebsd-14.2/sys/dev/qat/qat/ |
| H A D | qat_ocf.c | 161 switch (csp->csp_cipher_alg) { in qat_ocf_probesession() 195 switch (csp->csp_cipher_alg) { in qat_ocf_probesession() 210 switch (csp->csp_cipher_alg) { in qat_ocf_probesession() 293 if (csp->csp_cipher_alg) { in qat_ocf_session_init() 296 switch (csp->csp_cipher_alg) { in qat_ocf_session_init() 320 csp->csp_cipher_alg); in qat_ocf_session_init() 499 csp->csp_cipher_alg, in qat_ocf_session_init()
|
| /freebsd-14.2/sys/dev/safexcel/ |
| H A D | safexcel.c | 1394 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in safexcel_set_context() 1401 if (csp->csp_cipher_alg != 0) { in safexcel_set_context() 1411 switch (csp->csp_cipher_alg) { in safexcel_set_context() 1442 alg = csp->csp_cipher_alg; in safexcel_set_context() 1924 if (csp->csp_cipher_alg == 0 && in safexcel_set_token() 1934 switch (csp->csp_cipher_alg) { in safexcel_set_token() 2154 if (csp->csp_cipher_alg != 0) { in safexcel_create_chain_cb() 2249 switch (csp->csp_cipher_alg) { in safexcel_probe_cipher() 2303 switch (csp->csp_cipher_alg) { in safexcel_probesession() 2314 switch (csp->csp_cipher_alg) { in safexcel_probesession() [all …]
|
| /freebsd-14.2/sys/dev/cesa/ |
| H A D | cesa.c | 797 if (csp->csp_cipher_alg == CRYPTO_AES_CBC && in cesa_create_chain() 822 if (csp->csp_cipher_alg != 0 && in cesa_create_chain() 1564 switch (csp->csp_cipher_alg) { in cesa_cipher_supported() 1649 switch (csp->csp_cipher_alg) { in cesa_newsession() 1683 if (csp->csp_cipher_alg == CRYPTO_AES_CBC) in cesa_newsession() 1748 if (csp->csp_cipher_alg != 0) in cesa_process() 1754 if (csp->csp_cipher_alg == CRYPTO_AES_CBC) in cesa_process()
|
| /freebsd-14.2/sys/geom/eli/ |
| H A D | g_eli_crypto.c | 72 csp.csp_cipher_alg = algo; in g_eli_crypto_cipher()
|
| /freebsd-14.2/sys/crypto/via/ |
| H A D | padlock.c | 143 switch (csp->csp_cipher_alg) { in padlock_probesession()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | crypto_os.c | 282 csp.csp_cipher_alg = CRYPTO_AES_NIST_GCM_16; in freebsd_crypt_newsession() 295 csp.csp_cipher_alg = CRYPTO_AES_CCM_16; in freebsd_crypt_newsession()
|
| /freebsd-14.2/sys/dev/qat_c2xxx/ |
| H A D | qat.c | 1832 if (csp->csp_cipher_alg == CRYPTO_AES_XTS && in qat_probesession() 1842 switch (csp->csp_cipher_alg) { in qat_probesession() 1876 switch (csp->csp_cipher_alg) { in qat_probesession() 1889 switch (csp->csp_cipher_alg) { in qat_probesession() 1957 switch (csp->csp_cipher_alg) { in qat_newsession() 1981 csp->csp_cipher_alg); in qat_newsession() 2083 csp->csp_cipher_alg, csp->csp_auth_alg); in qat_newsession()
|
| /freebsd-14.2/sys/dev/safe/ |
| H A D | safe.c | 677 switch (csp->csp_cipher_alg) { in safe_cipher_supported() 730 if (csp->csp_cipher_alg != 0) { in safe_newsession() 812 if (csp->csp_cipher_alg != 0) { in safe_process() 816 switch (csp->csp_cipher_alg) { in safe_process()
|
| /freebsd-14.2/sys/dev/wg/ |
| H A D | wg_crypto.c | 269 .csp_cipher_alg = CRYPTO_CHACHA20_POLY1305, in crypto_init()
|
| /freebsd-14.2/sys/kgssapi/krb5/ |
| H A D | kcrypto_aes.c | 102 csp.csp_cipher_alg = CRYPTO_AES_CBC; in aes_set_key()
|
| /freebsd-14.2/sys/dev/sec/ |
| H A D | sec.c | 1136 switch (csp->csp_cipher_alg) { in sec_cipher_supported() 1272 if (csp->csp_cipher_alg != 0) in sec_process() 1434 return (csp->csp_cipher_alg == CRYPTO_AES_CBC); in sec_aesu_newsession()
|
| /freebsd-14.2/sys/netipsec/ |
| H A D | xform_esp.c | 243 csp.csp_cipher_alg = sav->tdb_encalgxform->type; in esp_init() 244 if (csp.csp_cipher_alg != CRYPTO_NULL_CBC) { in esp_init()
|
| /freebsd-14.2/sys/dev/glxsb/ |
| H A D | glxsb.c | 507 switch (csp->csp_cipher_alg) { in glxsb_crypto_probesession()
|
| /freebsd-14.2/sys/dev/cxgbe/crypto/ |
| H A D | t4_crypto.c | 2183 switch (csp->csp_cipher_alg) { in ccr_cipher_supported() 2199 return (ccr_aes_check_keylen(csp->csp_cipher_alg, in ccr_cipher_supported() 2207 switch (csp->csp_cipher_alg) { in ccr_cipher_mode() 2241 switch (csp->csp_cipher_alg) { in ccr_probesession()
|