| /freebsd-14-stable/sys/crypto/blake2/ |
| HD | blake2_cryptodev.c | 115 switch (csp->csp_auth_alg) { in blake2_probesession() 188 if (csp->csp_auth_alg == CRYPTO_BLAKE2S) in blake2_check_klen() 208 switch (csp->csp_auth_alg) { in blake2_cipher_setup() 273 switch (csp->csp_auth_alg) { in blake2_cipher_process()
|
| /freebsd-14-stable/sys/opencrypto/ |
| HD | crypto.c | 503 switch (csp->csp_auth_alg) { in crypto_auth_hash() 774 csp->csp_auth_alg != 0 || csp->csp_auth_klen != 0 || in check_csp() 791 if (csp->csp_auth_alg != 0 || csp->csp_auth_klen != 0 || in check_csp() 803 switch (csp->csp_auth_alg) { in check_csp() 818 if (!alg_is_digest(csp->csp_auth_alg)) in check_csp() 822 if (csp->csp_auth_alg == CRYPTO_BLAKE2B || in check_csp() 823 csp->csp_auth_alg == CRYPTO_BLAKE2S) in check_csp() 825 else if (alg_is_keyed_digest(csp->csp_auth_alg)) { in check_csp() 837 if (csp->csp_auth_alg == CRYPTO_AES_CCM_CBC_MAC && in check_csp() 850 if (csp->csp_auth_alg != 0 || csp->csp_auth_klen != 0) in check_csp() [all …]
|
| HD | cryptosoft.c | 1317 switch (csp->csp_auth_alg) { in swcr_setup_auth() 1369 switch (csp->csp_auth_alg) { in swcr_setup_auth() 1411 switch (csp->csp_auth_alg) { in swcr_auth_supported() 1530 switch (csp->csp_auth_alg) { in swcr_probesession() 1629 switch (csp->csp_auth_alg) { in swcr_newsession()
|
| HD | cryptodev.c | 382 csp.csp_auth_alg = mac; in cse_create() 458 if (csp.csp_auth_alg == CRYPTO_AES_NIST_GMAC) in cse_create() 460 if (csp.csp_auth_alg == CRYPTO_AES_CCM_CBC_MAC) in cse_create()
|
| HD | cryptodev.h | 354 int csp_auth_alg; member
|
| HD | ktls_ocf.c | 1072 mac_csp.csp_auth_alg = tls->params.auth_algorithm; in ktls_ocf_try()
|
| /freebsd-14-stable/sys/dev/safexcel/ |
| HD | safexcel.c | 1404 } else if (csp->csp_auth_alg == CRYPTO_AES_NIST_GMAC) { in safexcel_set_context() 1425 switch (csp->csp_auth_alg) { in safexcel_set_context() 1444 alg = csp->csp_auth_alg; in safexcel_set_context() 1464 if (csp->csp_auth_alg != 0) in safexcel_set_context() 1470 if (csp->csp_auth_alg != 0) in safexcel_set_context() 1476 if (CRYPTO_OP_IS_ENCRYPT(op) || csp->csp_auth_alg != 0) { in safexcel_set_context() 1925 csp->csp_auth_alg != CRYPTO_AES_NIST_GMAC) { in safexcel_set_token() 1951 if (csp->csp_auth_alg != 0) in safexcel_set_token() 1957 switch (csp->csp_auth_alg) { in safexcel_set_token() 1974 panic("unhandled auth request %d", csp->csp_auth_alg); in safexcel_set_token() [all …]
|
| /freebsd-14-stable/sys/dev/qat/include/ |
| HD | qat_ocf_utils.h | 23 if (CRYPTO_AES_NIST_GMAC == csp->csp_auth_alg) in is_gmac_exception()
|
| /freebsd-14-stable/sys/dev/qat/qat/ |
| HD | qat_ocf.c | 176 switch (csp->csp_auth_alg) { in qat_ocf_probesession() 205 switch (csp->csp_auth_alg) { in qat_ocf_probesession() 326 if (csp->csp_auth_alg) { in qat_ocf_session_init() 327 switch (csp->csp_auth_alg) { in qat_ocf_session_init() 462 if (csp->csp_auth_alg == CRYPTO_AES_NIST_GMAC) { in qat_ocf_session_init() 500 csp->csp_auth_alg); in qat_ocf_session_init()
|
| /freebsd-14-stable/sys/dev/safe/ |
| HD | safe.c | 660 switch (csp->csp_auth_alg) { in safe_auth_supported() 735 if (csp->csp_auth_alg != 0) { in safe_newsession() 742 safe_setup_mackey(ses, csp->csp_auth_alg, in safe_newsession() 864 if (csp->csp_auth_alg != 0) { in safe_process() 866 safe_setup_mackey(ses, csp->csp_auth_alg, in safe_process() 870 switch (csp->csp_auth_alg) { in safe_process() 1223 if (csp->csp_auth_alg != 0) in safe_process() 1304 if (csp->csp_auth_alg == CRYPTO_SHA1_HMAC) { in safe_callback()
|
| /freebsd-14-stable/sys/crypto/via/ |
| HD | padlock_hash.c | 358 return (padlock_hash_lookup(csp->csp_auth_alg) != NULL); in padlock_hash_check() 366 ses->ses_axf = padlock_hash_lookup(csp->csp_auth_alg); in padlock_hash_setup()
|
| /freebsd-14-stable/sys/dev/glxsb/ |
| HD | glxsb.c | 494 switch (csp->csp_auth_alg) { in glxsb_crypto_probesession() 535 if (csp->csp_auth_alg != 0) { in glxsb_crypto_newsession()
|
| /freebsd-14-stable/sys/dev/sec/ |
| HD | sec.c | 1157 switch (csp->csp_auth_alg) { in sec_auth_supported() 1227 if (csp->csp_auth_alg != 0) { in sec_newsession() 1487 switch (csp->csp_auth_alg) { in sec_mdeu_config() 1522 return (sec_mdeu_can_handle(csp->csp_auth_alg)); in sec_mdeu_newsession()
|
| /freebsd-14-stable/sys/crypto/ccp/ |
| HD | ccp.c | 318 switch (csp->csp_auth_alg) { in ccp_auth_supported() 410 switch (csp->csp_auth_alg) { in ccp_newsession()
|
| /freebsd-14-stable/sys/dev/qat_c2xxx/ |
| HD | qat.c | 1857 switch (csp->csp_auth_alg) { in qat_probesession() 1884 switch (csp->csp_auth_alg) { in qat_probesession() 1984 switch (csp->csp_auth_alg) { in qat_newsession() 2030 csp->csp_auth_alg); in qat_newsession() 2083 csp->csp_cipher_alg, csp->csp_auth_alg); in qat_newsession() 2097 if (csp->csp_auth_alg == CRYPTO_AES_NIST_GMAC) in qat_newsession()
|
| /freebsd-14-stable/sys/dev/cesa/ |
| HD | cesa.c | 1584 switch (csp->csp_auth_alg) { in cesa_auth_supported() 1656 switch (csp->csp_auth_alg) { in cesa_newsession() 1689 cesa_set_mkey(cs, csp->csp_auth_alg, csp->csp_auth_key, in cesa_newsession() 1759 cesa_set_mkey(cs, csp->csp_auth_alg, crp->crp_auth_key, in cesa_process()
|
| /freebsd-14-stable/sys/crypto/aesni/ |
| HD | aesni.c | 160 switch (csp->csp_auth_alg) { in aesni_auth_supported() 509 switch (csp->csp_auth_alg) { in aesni_cipher_setup()
|
| /freebsd-14-stable/sys/kgssapi/krb5/ |
| HD | kcrypto_aes.c | 93 csp.csp_auth_alg = CRYPTO_SHA1_HMAC; in aes_set_key()
|
| /freebsd-14-stable/sys/crypto/openssl/ |
| HD | ossl.c | 109 switch (csp->csp_auth_alg) { in ossl_lookup_hash()
|
| /freebsd-14-stable/sys/netipsec/ |
| HD | xform_ah.c | 221 csp->csp_auth_alg = sav->tdb_authalgxform->type; in ah_init0() 222 if (csp->csp_auth_alg != CRYPTO_NULL_HMAC) { in ah_init0()
|
| /freebsd-14-stable/sys/dev/hifn/ |
| HD | hifn7751.c | 2277 switch (csp->csp_auth_alg) { in hifn_auth_supported() 2360 if (csp->csp_auth_alg != 0) { in hifn_newsession() 2460 switch (csp->csp_auth_alg) { in hifn_process() 2473 if (csp->csp_auth_alg == CRYPTO_SHA1_HMAC) { in hifn_process()
|
| /freebsd-14-stable/sys/dev/cxgbe/crypto/ |
| HD | t4_crypto.c | 2161 switch (csp->csp_auth_alg) { in ccr_auth_supported() 2325 switch (csp->csp_auth_alg) { in ccr_newsession()
|
| /freebsd-14-stable/sys/geom/eli/ |
| HD | g_eli.c | 559 csp.csp_auth_alg = sc->sc_aalgo; in g_eli_newsession()
|