Home
last modified time | relevance | path

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

/f-stack/freebsd/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()
/f-stack/freebsd/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()
/f-stack/freebsd/crypto/ccp/
H A Dccp.c338 switch (csp->csp_cipher_alg) { in ccp_cipher_supported()
354 return (ccp_aes_check_keylen(csp->csp_cipher_alg, in ccp_cipher_supported()
376 switch (csp->csp_cipher_alg) { in ccp_probesession()
437 switch (csp->csp_cipher_alg) { in ccp_newsession()
506 ccp_aes_setkey(s, csp->csp_cipher_alg, in ccp_newsession()
563 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()
1365 if (csp->csp_cipher_alg == CRYPTO_AES_XTS && in ccp_collect_iv()
1377 if (csp->csp_cipher_alg != CRYPTO_AES_XTS) in ccp_collect_iv()
1508 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in ccp_do_blkcipher()
1529 switch (csp->csp_cipher_alg) { in ccp_do_blkcipher()
1551 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in ccp_do_blkcipher()
1558 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) { in ccp_do_blkcipher()
1614 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in ccp_do_blkcipher()
1638 if (csp->csp_cipher_alg == CRYPTO_AES_ICM) in ccp_do_blkcipher()
/f-stack/freebsd/crypto/aesni/
H A Daesni.c237 switch (csp->csp_cipher_alg) { in aesni_cipher_supported()
291 switch (csp->csp_cipher_alg) { in aesni_probesession()
613 kt = is_fpu_kern_thread(0) || (csp->csp_cipher_alg == 0); in aesni_cipher_setup()
641 switch (csp->csp_cipher_alg) { in aesni_cipher_process()
706 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16 || in aesni_cipher_crypt()
707 csp->csp_cipher_alg == CRYPTO_AES_CCM_16) { in aesni_cipher_crypt()
750 switch (csp->csp_cipher_alg) { in aesni_cipher_crypt()
H A Daesni_wrap.c446 switch (csp->csp_cipher_alg) { in aesni_cipher_setup_common()
454 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in aesni_cipher_setup_common()
476 if (csp->csp_cipher_alg == CRYPTO_AES_XTS) in aesni_cipher_setup_common()
/f-stack/freebsd/opencrypto/
H A Dcryptosoft.c1235 if (csp->csp_cipher_alg != CRYPTO_NULL_CBC && in swcr_cipher_supported()
1250 switch (csp->csp_cipher_alg) { in swcr_probesession()
1258 switch (csp->csp_cipher_alg) { in swcr_probesession()
1273 switch (csp->csp_cipher_alg) { in swcr_probesession()
1283 switch (csp->csp_cipher_alg) { in swcr_probesession()
1326 switch (csp->csp_cipher_alg) { in swcr_newsession()
1339 switch (csp->csp_cipher_alg) { in swcr_newsession()
1358 switch (csp->csp_cipher_alg) { in swcr_newsession()
1377 switch (csp->csp_cipher_alg) { in swcr_newsession()
1392 if (csp->csp_cipher_alg == CRYPTO_NULL_CBC) { in swcr_newsession()
H A Dcrypto.c588 switch (csp->csp_cipher_alg) { in crypto_cipher()
764 if (!alg_is_compression(csp->csp_cipher_alg)) in check_csp()
776 if (!alg_is_cipher(csp->csp_cipher_alg)) in check_csp()
780 if (csp->csp_cipher_alg != CRYPTO_NULL_CBC) { in check_csp()
793 if (csp->csp_cipher_alg != 0 || csp->csp_cipher_klen != 0) in check_csp()
823 if (!alg_is_aead(csp->csp_cipher_alg)) in check_csp()
837 switch (csp->csp_cipher_alg) { in check_csp()
846 if (!alg_is_cipher(csp->csp_cipher_alg)) in check_csp()
848 if (csp->csp_cipher_alg != CRYPTO_NULL_CBC) { in check_csp()
1313 if (csp->csp_cipher_alg == CRYPTO_AES_NIST_GCM_16) in crp_sanity()
[all …]
H A Dktls_ocf.c592 csp.csp_cipher_alg = CRYPTO_AES_NIST_GCM_16; in ktls_ocf_try()
632 csp.csp_cipher_alg = CRYPTO_AES_CBC; in ktls_ocf_try()
H A Dcryptodev.h375 int csp_cipher_alg; member
H A Dcryptodev.c605 csp.csp_cipher_alg = txform->type; in cse_create()
678 else if (csp.csp_cipher_alg == CRYPTO_AES_NIST_GCM_16) in cse_create()
680 else if (csp.csp_cipher_alg == CRYPTO_AES_CCM_16) in cse_create()
/f-stack/freebsd/crypto/via/
H A Dpadlock.c162 switch (csp->csp_cipher_alg) { in padlock_probesession()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c266 csp.csp_cipher_alg = CRYPTO_AES_NIST_GCM_16; in freebsd_crypt_newsession()
279 csp.csp_cipher_alg = CRYPTO_AES_CCM_16; in freebsd_crypt_newsession()
/f-stack/freebsd/mips/nlm/dev/sec/
H A Dnlmseclib.c272 switch(csp->csp_cipher_alg) { in nlm_get_cipher_param()
H A Dnlmsec.c392 switch (csp->csp_cipher_alg) { in xlp_sec_cipher_supported()
/f-stack/freebsd/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()
H A Dxform_ipcomp.c176 csp.csp_cipher_alg = sav->tdb_compalgxform->type; in ipcomp_init()