Home
last modified time | relevance | path

Searched refs:csp_auth_alg (Results 1 – 24 of 24) sorted by relevance

/freebsd-13.1/sys/mips/cavium/cryptocteon/
H A Dcryptocteon.c104 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 Dsafexcel.c1427 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 Dblake2_cryptodev.c182 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 Dcrypto.c529 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 Dcryptosoft.c1241 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 Dcryptodev.c642 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 Dcryptodev.h387 int csp_auth_alg; member
H A Dktls_ocf.c695 mac_csp.csp_auth_alg = tls->params.auth_algorithm; in ktls_ocf_try()
/freebsd-13.1/sys/dev/safe/
H A Dsafe.c665 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 Dpadlock_hash.c363 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 Dnlmsec.c378 switch (csp->csp_auth_alg) { in xlp_sec_auth_supported()
438 if (csp->csp_auth_alg != 0) { in xlp_sec_newsession()
H A Dnlmseclib.c256 switch(csp->csp_auth_alg) { in nlm_get_digest_param()
/freebsd-13.1/sys/dev/glxsb/
H A Dglxsb.c498 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 Dsec.c1160 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 Dccp.c320 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 Dqat.c1882 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 Dcesa.c1587 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 Dossl.c123 switch (csp->csp_auth_alg) { in ossl_lookup_hash()
/freebsd-13.1/sys/kgssapi/krb5/
H A Dkcrypto_aes.c95 csp.csp_auth_alg = CRYPTO_SHA1_HMAC; in aes_set_key()
/freebsd-13.1/sys/crypto/aesni/
H A Daesni.c217 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 Dxform_ah.c218 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 Dhifn7751.c2281 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 Dg_eli.c513 csp.csp_auth_alg = sc->sc_aalgo; in g_eli_newsession()
/freebsd-13.1/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c2463 switch (csp->csp_auth_alg) { in ccr_auth_supported()
2631 switch (csp->csp_auth_alg) { in ccr_newsession()