| /freebsd-13.1/sys/mips/cavium/cryptocteon/ |
| H A D | cryptocteon.c | 104 switch (csp->csp_auth_alg) { in cryptocteon_auth_supported() 171 octo_calc_hash(csp->csp_auth_alg == CRYPTO_SHA1_HMAC, hash_key, in cryptocteon_calc_hash() 197 switch (csp->csp_auth_alg) { in cryptocteon_newsession() 206 switch (csp->csp_auth_alg) { in cryptocteon_newsession() 224 switch (csp->csp_auth_alg) { in cryptocteon_newsession() 390 if (csp->csp_auth_alg != 0) { in cryptocteon_process()
|
| /freebsd-13.1/sys/dev/safexcel/ |
| H A D | safexcel.c | 1427 switch (csp->csp_auth_alg) { in safexcel_set_context() 1446 alg = csp->csp_auth_alg; in safexcel_set_context() 1466 if (csp->csp_auth_alg != 0) in safexcel_set_context() 1472 if (csp->csp_auth_alg != 0) in safexcel_set_context() 1927 csp->csp_auth_alg != CRYPTO_AES_NIST_GMAC) { in safexcel_set_token() 1953 if (csp->csp_auth_alg != 0) in safexcel_set_token() 1959 switch (csp->csp_auth_alg) { in safexcel_set_token() 2284 switch (csp->csp_auth_alg) { in safexcel_probesession() 2326 if (csp->csp_auth_alg != CRYPTO_SHA1_HMAC && in safexcel_probesession() 2330 csp->csp_auth_alg != CRYPTO_SHA2_512_HMAC) in safexcel_probesession() [all …]
|
| /freebsd-13.1/sys/crypto/blake2/ |
| H A D | blake2_cryptodev.c | 182 switch (csp->csp_auth_alg) { in blake2_probesession() 266 if (csp->csp_auth_alg == CRYPTO_BLAKE2S) in blake2_check_klen() 286 switch (csp->csp_auth_alg) { in blake2_cipher_setup() 362 switch (csp->csp_auth_alg) { in blake2_cipher_process()
|
| /freebsd-13.1/sys/opencrypto/ |
| H A D | crypto.c | 529 switch (csp->csp_auth_alg) { in crypto_auth_hash() 824 switch (csp->csp_auth_alg) { in check_csp() 839 if (!alg_is_digest(csp->csp_auth_alg)) in check_csp() 843 if (csp->csp_auth_alg == CRYPTO_BLAKE2B || in check_csp() 844 csp->csp_auth_alg == CRYPTO_BLAKE2S) in check_csp() 846 else if (alg_is_keyed_digest(csp->csp_auth_alg)) { in check_csp() 858 if (csp->csp_auth_alg == CRYPTO_AES_CCM_CBC_MAC && in check_csp() 906 if (!alg_is_digest(csp->csp_auth_alg)) in check_csp() 910 if (csp->csp_auth_alg == CRYPTO_BLAKE2B || in check_csp() 911 csp->csp_auth_alg == CRYPTO_BLAKE2S) in check_csp() [all …]
|
| H A D | cryptosoft.c | 1241 switch (csp->csp_auth_alg) { in swcr_setup_auth() 1421 switch (csp->csp_auth_alg) { in swcr_auth_supported() 1528 switch (csp->csp_auth_alg) { in swcr_probesession() 1629 switch (csp->csp_auth_alg) { in swcr_newsession()
|
| H A D | cryptodev.c | 642 csp.csp_auth_alg = thash->type; in cse_create() 663 if (csp.csp_auth_alg == CRYPTO_AES_NIST_GMAC) in cse_create() 665 if (csp.csp_auth_alg == CRYPTO_AES_CCM_CBC_MAC) in cse_create()
|
| H A D | cryptodev.h | 387 int csp_auth_alg; member
|
| H A D | ktls_ocf.c | 695 mac_csp.csp_auth_alg = tls->params.auth_algorithm; in ktls_ocf_try()
|
| /freebsd-13.1/sys/dev/safe/ |
| H A D | safe.c | 665 switch (csp->csp_auth_alg) { in safe_auth_supported() 740 if (csp->csp_auth_alg != 0) { in safe_newsession() 747 safe_setup_mackey(ses, csp->csp_auth_alg, in safe_newsession() 869 if (csp->csp_auth_alg != 0) { in safe_process() 871 safe_setup_mackey(ses, csp->csp_auth_alg, in safe_process() 875 switch (csp->csp_auth_alg) { in safe_process() 1228 if (csp->csp_auth_alg != 0) in safe_process() 1309 if (csp->csp_auth_alg == CRYPTO_SHA1_HMAC) { in safe_callback()
|
| /freebsd-13.1/sys/crypto/via/ |
| H A D | padlock_hash.c | 363 return (padlock_hash_lookup(csp->csp_auth_alg) != NULL); in padlock_hash_check() 371 ses->ses_axf = padlock_hash_lookup(csp->csp_auth_alg); in padlock_hash_setup()
|
| /freebsd-13.1/sys/mips/nlm/dev/sec/ |
| H A D | nlmsec.c | 378 switch (csp->csp_auth_alg) { in xlp_sec_auth_supported() 438 if (csp->csp_auth_alg != 0) { in xlp_sec_newsession()
|
| H A D | nlmseclib.c | 256 switch(csp->csp_auth_alg) { in nlm_get_digest_param()
|
| /freebsd-13.1/sys/dev/glxsb/ |
| H A D | glxsb.c | 498 switch (csp->csp_auth_alg) { in glxsb_crypto_probesession() 539 if (csp->csp_auth_alg != 0) { in glxsb_crypto_newsession()
|
| /freebsd-13.1/sys/dev/sec/ |
| H A D | sec.c | 1160 switch (csp->csp_auth_alg) { in sec_auth_supported() 1230 if (csp->csp_auth_alg != 0) { in sec_newsession() 1490 switch (csp->csp_auth_alg) { in sec_mdeu_config() 1525 return (sec_mdeu_can_handle(csp->csp_auth_alg)); in sec_mdeu_newsession()
|
| /freebsd-13.1/sys/crypto/ccp/ |
| H A D | ccp.c | 320 switch (csp->csp_auth_alg) { in ccp_auth_supported() 417 switch (csp->csp_auth_alg) { in ccp_newsession()
|
| /freebsd-13.1/sys/dev/qat/ |
| H A D | qat.c | 1882 switch (csp->csp_auth_alg) { in qat_probesession() 1911 switch (csp->csp_auth_alg) { in qat_probesession() 2011 switch (csp->csp_auth_alg) { in qat_newsession() 2057 csp->csp_auth_alg); in qat_newsession() 2110 csp->csp_cipher_alg, csp->csp_auth_alg); in qat_newsession() 2124 if (csp->csp_auth_alg == CRYPTO_AES_NIST_GMAC) in qat_newsession()
|
| /freebsd-13.1/sys/dev/cesa/ |
| H A D | cesa.c | 1587 switch (csp->csp_auth_alg) { in cesa_auth_supported() 1661 switch (csp->csp_auth_alg) { in cesa_newsession() 1694 cesa_set_mkey(cs, csp->csp_auth_alg, csp->csp_auth_key, in cesa_newsession() 1764 cesa_set_mkey(cs, csp->csp_auth_alg, crp->crp_auth_key, in cesa_process()
|
| /freebsd-13.1/sys/crypto/openssl/ |
| H A D | ossl.c | 123 switch (csp->csp_auth_alg) { in ossl_lookup_hash()
|
| /freebsd-13.1/sys/kgssapi/krb5/ |
| H A D | kcrypto_aes.c | 95 csp.csp_auth_alg = CRYPTO_SHA1_HMAC; in aes_set_key()
|
| /freebsd-13.1/sys/crypto/aesni/ |
| H A D | aesni.c | 217 switch (csp->csp_auth_alg) { in aesni_auth_supported() 571 switch (csp->csp_auth_alg) { in aesni_cipher_setup()
|
| /freebsd-13.1/sys/netipsec/ |
| H A D | xform_ah.c | 218 csp->csp_auth_alg = sav->tdb_authalgxform->type; in ah_init0() 219 if (csp->csp_auth_alg != CRYPTO_NULL_HMAC) { in ah_init0()
|
| /freebsd-13.1/sys/dev/hifn/ |
| H A D | hifn7751.c | 2281 switch (csp->csp_auth_alg) { in hifn_auth_supported() 2364 if (csp->csp_auth_alg != 0) { in hifn_newsession() 2464 switch (csp->csp_auth_alg) { in hifn_process() 2477 if (csp->csp_auth_alg == CRYPTO_SHA1_HMAC) { in hifn_process()
|
| /freebsd-13.1/sys/geom/eli/ |
| H A D | g_eli.c | 513 csp.csp_auth_alg = sc->sc_aalgo; in g_eli_newsession()
|
| /freebsd-13.1/sys/dev/cxgbe/crypto/ |
| H A D | t4_crypto.c | 2463 switch (csp->csp_auth_alg) { in ccr_auth_supported() 2631 switch (csp->csp_auth_alg) { in ccr_newsession()
|