Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/crypto/blake2/
HDblake2_cryptodev.c115 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/
HDcrypto.c503 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 …]
HDcryptosoft.c1317 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()
HDcryptodev.c382 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()
HDcryptodev.h354 int csp_auth_alg; member
HDktls_ocf.c1072 mac_csp.csp_auth_alg = tls->params.auth_algorithm; in ktls_ocf_try()
/freebsd-14-stable/sys/dev/safexcel/
HDsafexcel.c1404 } 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/
HDqat_ocf_utils.h23 if (CRYPTO_AES_NIST_GMAC == csp->csp_auth_alg) in is_gmac_exception()
/freebsd-14-stable/sys/dev/qat/qat/
HDqat_ocf.c176 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/
HDsafe.c660 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/
HDpadlock_hash.c358 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/
HDglxsb.c494 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/
HDsec.c1157 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/
HDccp.c318 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/
HDqat.c1857 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/
HDcesa.c1584 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/
HDaesni.c160 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/
HDkcrypto_aes.c93 csp.csp_auth_alg = CRYPTO_SHA1_HMAC; in aes_set_key()
/freebsd-14-stable/sys/crypto/openssl/
HDossl.c109 switch (csp->csp_auth_alg) { in ossl_lookup_hash()
/freebsd-14-stable/sys/netipsec/
HDxform_ah.c221 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/
HDhifn7751.c2277 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/
HDt4_crypto.c2161 switch (csp->csp_auth_alg) { in ccr_auth_supported()
2325 switch (csp->csp_auth_alg) { in ccr_newsession()
/freebsd-14-stable/sys/geom/eli/
HDg_eli.c559 csp.csp_auth_alg = sc->sc_aalgo; in g_eli_newsession()