Home
last modified time | relevance | path

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

/freebsd/sys/crypto/blake2/
H A Dblake2_cryptodev.c114 switch (csp->csp_auth_alg) { in blake2_probesession()
187 if (csp->csp_auth_alg == CRYPTO_BLAKE2S) in blake2_check_klen()
207 switch (csp->csp_auth_alg) { in blake2_cipher_setup()
272 switch (csp->csp_auth_alg) { in blake2_cipher_process()
/freebsd/sys/opencrypto/
H A Dcrypto.c500 switch (csp->csp_auth_alg) { in crypto_auth_hash()
771 csp->csp_auth_alg != 0 || csp->csp_auth_klen != 0 || in check_csp()
788 if (csp->csp_auth_alg != 0 || csp->csp_auth_klen != 0 || in check_csp()
800 switch (csp->csp_auth_alg) { in check_csp()
815 if (!alg_is_digest(csp->csp_auth_alg)) in check_csp()
819 if (csp->csp_auth_alg == CRYPTO_BLAKE2B || in check_csp()
820 csp->csp_auth_alg == CRYPTO_BLAKE2S) in check_csp()
822 else if (alg_is_keyed_digest(csp->csp_auth_alg)) { in check_csp()
834 if (csp->csp_auth_alg == CRYPTO_AES_CCM_CBC_MAC && in check_csp()
847 if (csp->csp_auth_alg != 0 || csp->csp_auth_klen != 0) in check_csp()
[all …]
H A Dcryptosoft.c1316 switch (csp->csp_auth_alg) { in swcr_setup_auth()
1368 switch (csp->csp_auth_alg) { in swcr_setup_auth()
1410 switch (csp->csp_auth_alg) { in swcr_auth_supported()
1529 switch (csp->csp_auth_alg) { in swcr_probesession()
1628 switch (csp->csp_auth_alg) { in swcr_newsession()
H A Dcryptodev.c381 csp.csp_auth_alg = mac; in cse_create()
457 if (csp.csp_auth_alg == CRYPTO_AES_NIST_GMAC) in cse_create()
459 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.c1069 mac_csp.csp_auth_alg = tls->params.auth_algorithm; in ktls_ocf_try()
/freebsd/sys/dev/safexcel/
H A Dsafexcel.c1403 } else if (csp->csp_auth_alg == CRYPTO_AES_NIST_GMAC) { in safexcel_set_context()
1424 switch (csp->csp_auth_alg) { in safexcel_set_context()
1443 alg = csp->csp_auth_alg; in safexcel_set_context()
1463 if (csp->csp_auth_alg != 0) in safexcel_set_context()
1469 if (csp->csp_auth_alg != 0) in safexcel_set_context()
1475 if (CRYPTO_OP_IS_ENCRYPT(op) || csp->csp_auth_alg != 0) { in safexcel_set_context()
1924 csp->csp_auth_alg != CRYPTO_AES_NIST_GMAC) { in safexcel_set_token()
1950 if (csp->csp_auth_alg != 0) in safexcel_set_token()
1956 switch (csp->csp_auth_alg) { in safexcel_set_token()
1973 panic("unhandled auth request %d", csp->csp_auth_alg); in safexcel_set_token()
[all …]
/freebsd/sys/dev/qat/include/
H A Dqat_ocf_utils.h23 if (CRYPTO_AES_NIST_GMAC == csp->csp_auth_alg) in is_gmac_exception()
/freebsd/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/sys/dev/safe/
H A Dsafe.c662 switch (csp->csp_auth_alg) { in safe_auth_supported()
737 if (csp->csp_auth_alg != 0) { in safe_newsession()
744 safe_setup_mackey(ses, csp->csp_auth_alg, in safe_newsession()
866 if (csp->csp_auth_alg != 0) { in safe_process()
868 safe_setup_mackey(ses, csp->csp_auth_alg, in safe_process()
872 switch (csp->csp_auth_alg) { in safe_process()
1225 if (csp->csp_auth_alg != 0) in safe_process()
1306 if (csp->csp_auth_alg == CRYPTO_SHA1_HMAC) { in safe_callback()
/freebsd/sys/dev/dpaa/
H A Dsec_dev.c761 if (csp->csp_auth_alg == CRYPTO_AES_NIST_GMAC) { in check_digest()
771 if (!sec_hash_params(csp->csp_auth_alg, &alg, &dlen, &skeylen)) in check_digest()
843 switch (csp->csp_auth_alg) { in sec_sw_gen_split_key()
1227 if (csp->csp_auth_alg == CRYPTO_AES_NIST_GMAC) { in sec_shd_build_digest()
1237 if (!sec_hash_params(csp->csp_auth_alg, &alg, &dlen, &skeylen)) in sec_shd_build_digest()
1329 if (!sec_hash_params(csp->csp_auth_alg, &alg, &dlen, &skeylen)) in sec_shd_build_eta()
1414 csp->csp_auth_alg != CRYPTO_AES_NIST_GMAC) { in sec_new_session()
1418 if (!sec_hash_params(csp->csp_auth_alg, &alg, &dlen, &skeylen)) in sec_new_session()
2104 if (csp->csp_auth_alg == CRYPTO_AES_NIST_GMAC) in sec_process()
/freebsd/sys/crypto/via/
H A Dpadlock_hash.c357 return (padlock_hash_lookup(csp->csp_auth_alg) != NULL); in padlock_hash_check()
365 ses->ses_axf = padlock_hash_lookup(csp->csp_auth_alg); in padlock_hash_setup()
/freebsd/sys/dev/glxsb/
H A Dglxsb.c493 switch (csp->csp_auth_alg) { in glxsb_crypto_probesession()
534 if (csp->csp_auth_alg != 0) { in glxsb_crypto_newsession()
/freebsd/sys/dev/sec/
H A Dsec.c1156 switch (csp->csp_auth_alg) { in sec_auth_supported()
1226 if (csp->csp_auth_alg != 0) { in sec_newsession()
1486 switch (csp->csp_auth_alg) { in sec_mdeu_config()
1521 return (sec_mdeu_can_handle(csp->csp_auth_alg)); in sec_mdeu_newsession()
/freebsd/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/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/sys/dev/cesa/
H A Dcesa.c1563 switch (csp->csp_auth_alg) { in cesa_auth_supported()
1635 switch (csp->csp_auth_alg) { in cesa_newsession()
1668 cesa_set_mkey(cs, csp->csp_auth_alg, csp->csp_auth_key, in cesa_newsession()
1738 cesa_set_mkey(cs, csp->csp_auth_alg, crp->crp_auth_key, in cesa_process()
/freebsd/sys/crypto/aesni/
H A Daesni.c159 switch (csp->csp_auth_alg) { in aesni_auth_supported()
508 switch (csp->csp_auth_alg) { in aesni_cipher_setup()
/freebsd/sys/kgssapi/krb5/
H A Dkcrypto_aes.c92 csp.csp_auth_alg = CRYPTO_SHA1_HMAC; in aes_set_key()
/freebsd/sys/crypto/openssl/
H A Dossl.c108 switch (csp->csp_auth_alg) { in ossl_lookup_hash()
/freebsd/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/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c2169 switch (csp->csp_auth_alg) { in ccr_auth_supported()
2333 switch (csp->csp_auth_alg) { in ccr_newsession()
/freebsd/sys/geom/eli/
H A Dg_eli.c558 csp.csp_auth_alg = sc->sc_aalgo; in g_eli_newsession()