Home
last modified time | relevance | path

Searched refs:csp_cipher_alg (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13.1/sys/crypto/armv8/
H A Darmv8_crypto.c216 switch (csp->csp_cipher_alg) { in armv8_crypto_probesession()
239 switch (csp->csp_cipher_alg) { in armv8_crypto_probesession()
281 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in armv8_crypto_cipher_setup()
303 if ((csp->csp_cipher_alg == CRYPTO_AES_XTS) || in armv8_crypto_cipher_setup()
304 (csp->csp_cipher_alg == CRYPTO_AES_CBC)) in armv8_crypto_cipher_setup()
308 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in armv8_crypto_cipher_setup()
311 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16) { in armv8_crypto_cipher_setup()
407 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16) { in armv8_crypto_cipher_process()
457 switch (csp->csp_cipher_alg) { in armv8_crypto_cipher_process()
/freebsd-13.1/sys/mips/cavium/cryptocteon/
H A Dcryptocteon.c121 switch (csp->csp_cipher_alg) { in cryptocteon_cipher_supported()
214 switch (csp->csp_cipher_alg) { in cryptocteon_newsession()
222 switch (csp->csp_cipher_alg) { in cryptocteon_newsession()
330 if (csp->csp_cipher_alg != 0) { in cryptocteon_process()
/freebsd-13.1/sys/crypto/aesni/
H A Daesni.c240 switch (csp->csp_cipher_alg) { in aesni_cipher_supported()
294 switch (csp->csp_cipher_alg) { in aesni_probesession()
610 } else if (csp->csp_cipher_alg == CRYPTO_AES_CCM_16) { in aesni_cipher_setup()
617 kt = is_fpu_kern_thread(0) || (csp->csp_cipher_alg == 0); in aesni_cipher_setup()
645 switch (csp->csp_cipher_alg) { in aesni_cipher_process()
718 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16 || in aesni_cipher_crypt()
719 csp->csp_cipher_alg == CRYPTO_AES_CCM_16) { in aesni_cipher_crypt()
765 switch (csp->csp_cipher_alg) { in aesni_cipher_crypt()
H A Daesni_wrap.c454 switch (csp->csp_cipher_alg) { in aesni_cipher_setup_common()
462 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in aesni_cipher_setup_common()
484 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in aesni_cipher_setup_common()
/freebsd-13.1/sys/crypto/ccp/
H A Dccp.c341 switch (csp->csp_cipher_alg) { in ccp_cipher_supported()
357 return (ccp_aes_check_keylen(csp->csp_cipher_alg, in ccp_cipher_supported()
379 switch (csp->csp_cipher_alg) { in ccp_probesession()
440 switch (csp->csp_cipher_alg) { in ccp_newsession()
509 ccp_aes_setkey(s, csp->csp_cipher_alg, in ccp_newsession()
566 ccp_aes_setkey(s, csp->csp_cipher_alg, crp->crp_cipher_key, in ccp_process()
H A Dccp_hardware.c1361 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16) in ccp_collect_iv()
1364 if (csp->csp_cipher_alg == CRYPTO_AES_XTS && in ccp_collect_iv()
1376 if (csp->csp_cipher_alg != CRYPTO_AES_XTS) in ccp_collect_iv()
1507 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in ccp_do_blkcipher()
1528 switch (csp->csp_cipher_alg) { in ccp_do_blkcipher()
1550 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in ccp_do_blkcipher()
1557 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) { in ccp_do_blkcipher()
1613 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in ccp_do_blkcipher()
1637 if (csp->csp_cipher_alg == CRYPTO_AES_ICM) in ccp_do_blkcipher()
/freebsd-13.1/sys/opencrypto/
H A Dcrypto.c591 switch (csp->csp_cipher_alg) { in crypto_cipher()
788 if (!alg_is_compression(csp->csp_cipher_alg)) in check_csp()
800 if (!alg_is_cipher(csp->csp_cipher_alg)) in check_csp()
804 if (csp->csp_cipher_alg != CRYPTO_NULL_CBC) { in check_csp()
817 if (csp->csp_cipher_alg != 0 || csp->csp_cipher_klen != 0) in check_csp()
864 if (!alg_is_aead(csp->csp_cipher_alg)) in check_csp()
874 switch (csp->csp_cipher_alg) { in check_csp()
896 if (!alg_is_cipher(csp->csp_cipher_alg)) in check_csp()
898 if (csp->csp_cipher_alg != CRYPTO_NULL_CBC) { in check_csp()
H A Dcryptosoft.c1472 if (csp->csp_cipher_alg != CRYPTO_NULL_CBC && in swcr_cipher_supported()
1487 switch (csp->csp_cipher_alg) { in swcr_probesession()
1495 switch (csp->csp_cipher_alg) { in swcr_probesession()
1511 switch (csp->csp_cipher_alg) { in swcr_probesession()
1522 switch (csp->csp_cipher_alg) { in swcr_probesession()
1566 switch (csp->csp_cipher_alg) { in swcr_newsession()
1579 switch (csp->csp_cipher_alg) { in swcr_newsession()
1599 switch (csp->csp_cipher_alg) { in swcr_newsession()
1623 switch (csp->csp_cipher_alg) { in swcr_newsession()
1639 if (csp->csp_cipher_alg == CRYPTO_NULL_CBC) { in swcr_newsession()
H A Dktls_ocf.c648 csp.csp_cipher_alg = CRYPTO_AES_NIST_GCM_16; in ktls_ocf_try()
688 csp.csp_cipher_alg = CRYPTO_AES_CBC; in ktls_ocf_try()
720 csp.csp_cipher_alg = CRYPTO_CHACHA20_POLY1305; in ktls_ocf_try()
H A Dcryptodev.c620 csp.csp_cipher_alg = txform->type; in cse_create()
713 else if (csp.csp_cipher_alg == CRYPTO_AES_NIST_GCM_16) in cse_create()
715 else if (csp.csp_cipher_alg == CRYPTO_AES_CCM_16) in cse_create()
717 else if (csp.csp_cipher_alg == CRYPTO_CHACHA20_POLY1305) in cse_create()
1171 csp->csp_cipher_alg == CRYPTO_AES_XTS && in cryptodev_aead()
H A Dcryptodev.h383 int csp_cipher_alg; member
/freebsd-13.1/sys/crypto/openssl/
H A Dossl.c159 switch (csp->csp_cipher_alg) { in ossl_probesession()
169 switch (csp->csp_cipher_alg) { in ossl_probesession()
/freebsd-13.1/sys/dev/safexcel/
H A Dsafexcel.c1396 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in safexcel_set_context()
1403 if (csp->csp_cipher_alg != 0) { in safexcel_set_context()
1413 switch (csp->csp_cipher_alg) { in safexcel_set_context()
1444 alg = csp->csp_cipher_alg; in safexcel_set_context()
1926 if (csp->csp_cipher_alg == 0 && in safexcel_set_token()
1936 switch (csp->csp_cipher_alg) { in safexcel_set_token()
2156 if (csp->csp_cipher_alg != 0) { in safexcel_create_chain_cb()
2251 switch (csp->csp_cipher_alg) { in safexcel_probe_cipher()
2305 switch (csp->csp_cipher_alg) { in safexcel_probesession()
2319 switch (csp->csp_cipher_alg) { in safexcel_probesession()
[all …]
/freebsd-13.1/sys/dev/cesa/
H A Dcesa.c800 if (csp->csp_cipher_alg == CRYPTO_AES_CBC && in cesa_create_chain()
825 if (csp->csp_cipher_alg != 0 && in cesa_create_chain()
1567 switch (csp->csp_cipher_alg) { in cesa_cipher_supported()
1654 switch (csp->csp_cipher_alg) { in cesa_newsession()
1688 if (csp->csp_cipher_alg == CRYPTO_AES_CBC) in cesa_newsession()
1753 if (csp->csp_cipher_alg != 0) in cesa_process()
1759 if (csp->csp_cipher_alg == CRYPTO_AES_CBC) in cesa_process()
/freebsd-13.1/sys/geom/eli/
H A Dg_eli_crypto.c74 csp.csp_cipher_alg = algo; in g_eli_crypto_cipher()
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c268 csp.csp_cipher_alg = CRYPTO_AES_NIST_GCM_16; in freebsd_crypt_newsession()
281 csp.csp_cipher_alg = CRYPTO_AES_CCM_16; in freebsd_crypt_newsession()
/freebsd-13.1/sys/crypto/via/
H A Dpadlock.c162 switch (csp->csp_cipher_alg) { in padlock_probesession()
/freebsd-13.1/sys/dev/qat/
H A Dqat.c1857 if (csp->csp_cipher_alg == CRYPTO_AES_XTS && in qat_probesession()
1867 switch (csp->csp_cipher_alg) { in qat_probesession()
1901 switch (csp->csp_cipher_alg) { in qat_probesession()
1916 switch (csp->csp_cipher_alg) { in qat_probesession()
1984 switch (csp->csp_cipher_alg) { in qat_newsession()
2008 csp->csp_cipher_alg); in qat_newsession()
2110 csp->csp_cipher_alg, csp->csp_auth_alg); in qat_newsession()
/freebsd-13.1/sys/mips/nlm/dev/sec/
H A Dnlmseclib.c275 switch(csp->csp_cipher_alg) { in nlm_get_cipher_param()
H A Dnlmsec.c392 switch (csp->csp_cipher_alg) { in xlp_sec_cipher_supported()
/freebsd-13.1/sys/dev/safe/
H A Dsafe.c681 switch (csp->csp_cipher_alg) { in safe_cipher_supported()
734 if (csp->csp_cipher_alg != 0) { in safe_newsession()
816 if (csp->csp_cipher_alg != 0) { in safe_process()
820 switch (csp->csp_cipher_alg) { in safe_process()
/freebsd-13.1/sys/kgssapi/krb5/
H A Dkcrypto_aes.c104 csp.csp_cipher_alg = CRYPTO_AES_CBC; in aes_set_key()
/freebsd-13.1/sys/dev/sec/
H A Dsec.c1139 switch (csp->csp_cipher_alg) { in sec_cipher_supported()
1275 if (csp->csp_cipher_alg != 0) in sec_process()
1437 return (csp->csp_cipher_alg == CRYPTO_AES_CBC); in sec_aesu_newsession()
/freebsd-13.1/sys/netipsec/
H A Dxform_esp.c234 csp.csp_cipher_alg = sav->tdb_encalgxform->type; in esp_init()
235 if (csp.csp_cipher_alg != CRYPTO_NULL_CBC) { in esp_init()
/freebsd-13.1/sys/dev/glxsb/
H A Dglxsb.c511 switch (csp->csp_cipher_alg) { in glxsb_crypto_probesession()

12