Home
last modified time | relevance | path

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

/freebsd-14.2/sys/crypto/blake2/
H A Dblake2_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.2/sys/opencrypto/
H A Dcrypto.c503 switch (csp->csp_auth_alg) { in crypto_auth_hash()
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()
894 if (!alg_is_digest(csp->csp_auth_alg)) in check_csp()
898 if (csp->csp_auth_alg == CRYPTO_BLAKE2B || in check_csp()
899 csp->csp_auth_alg == CRYPTO_BLAKE2S) in check_csp()
[all …]
H A Dcryptosoft.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()
H A Dcryptodev.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()
H A Dcryptodev.h354 int csp_auth_alg; member
H A Dktls_ocf.c1072 mac_csp.csp_auth_alg = tls->params.auth_algorithm; in ktls_ocf_try()
/freebsd-14.2/sys/dev/safexcel/
H A Dsafexcel.c1425 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()
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()
2282 switch (csp->csp_auth_alg) { in safexcel_probesession()
2321 if (csp->csp_auth_alg != CRYPTO_SHA1_HMAC && in safexcel_probesession()
2325 csp->csp_auth_alg != CRYPTO_SHA2_512_HMAC) in safexcel_probesession()
[all …]
/freebsd-14.2/sys/dev/qat/include/
H A Dqat_ocf_utils.h23 if (CRYPTO_AES_NIST_GMAC == csp->csp_auth_alg) in is_gmac_exception()
/freebsd-14.2/sys/dev/qat/qat/
H A Dqat_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.2/sys/dev/safe/
H A Dsafe.c661 switch (csp->csp_auth_alg) { in safe_auth_supported()
736 if (csp->csp_auth_alg != 0) { in safe_newsession()
743 safe_setup_mackey(ses, csp->csp_auth_alg, in safe_newsession()
865 if (csp->csp_auth_alg != 0) { in safe_process()
867 safe_setup_mackey(ses, csp->csp_auth_alg, in safe_process()
871 switch (csp->csp_auth_alg) { in safe_process()
1224 if (csp->csp_auth_alg != 0) in safe_process()
1305 if (csp->csp_auth_alg == CRYPTO_SHA1_HMAC) { in safe_callback()
/freebsd-14.2/sys/crypto/via/
H A Dpadlock_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.2/sys/dev/glxsb/
H A Dglxsb.c494 switch (csp->csp_auth_alg) { in glxsb_crypto_probesession()
535 if (csp->csp_auth_alg != 0) { in glxsb_crypto_newsession()
/freebsd-14.2/sys/dev/sec/
H A Dsec.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.2/sys/crypto/ccp/
H A Dccp.c318 switch (csp->csp_auth_alg) { in ccp_auth_supported()
410 switch (csp->csp_auth_alg) { in ccp_newsession()
/freebsd-14.2/sys/dev/qat_c2xxx/
H A Dqat.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.2/sys/dev/cesa/
H A Dcesa.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.2/sys/crypto/aesni/
H A Daesni.c160 switch (csp->csp_auth_alg) { in aesni_auth_supported()
509 switch (csp->csp_auth_alg) { in aesni_cipher_setup()
/freebsd-14.2/sys/kgssapi/krb5/
H A Dkcrypto_aes.c93 csp.csp_auth_alg = CRYPTO_SHA1_HMAC; in aes_set_key()
/freebsd-14.2/sys/crypto/openssl/
H A Dossl.c109 switch (csp->csp_auth_alg) { in ossl_lookup_hash()
/freebsd-14.2/sys/netipsec/
H A Dxform_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.2/sys/dev/hifn/
H A Dhifn7751.c2279 switch (csp->csp_auth_alg) { in hifn_auth_supported()
2362 if (csp->csp_auth_alg != 0) { in hifn_newsession()
2462 switch (csp->csp_auth_alg) { in hifn_process()
2475 if (csp->csp_auth_alg == CRYPTO_SHA1_HMAC) { in hifn_process()
/freebsd-14.2/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c2161 switch (csp->csp_auth_alg) { in ccr_auth_supported()
2325 switch (csp->csp_auth_alg) { in ccr_newsession()
/freebsd-14.2/sys/geom/eli/
H A Dg_eli.c559 csp.csp_auth_alg = sc->sc_aalgo; in g_eli_newsession()