Home
last modified time | relevance | path

Searched refs:csp_mode (Results 1 – 18 of 18) sorted by relevance

/f-stack/freebsd/crypto/via/
H A Dpadlock.c156 switch (csp->csp_mode) { in padlock_probesession()
196 if (csp->csp_mode == CSP_MODE_ETA) { in padlock_newsession()
245 if (csp->csp_mode == CSP_MODE_ETA && in padlock_process()
257 if (csp->csp_mode == CSP_MODE_ETA && in padlock_process()
/f-stack/freebsd/mips/nlm/dev/sec/
H A Dnlmseclib.c103 if (csp->csp_mode != CSP_MODE_DIGEST) { in nlm_crypto_form_srcdst_segs()
122 if (csp->csp_mode != CSP_MODE_DIGEST) { in nlm_crypto_form_srcdst_segs()
143 if (csp->csp_mode != CSP_MODE_DIGEST) { in nlm_crypto_form_srcdst_segs()
155 if (csp->csp_mode != CSP_MODE_DIGEST) { in nlm_crypto_form_srcdst_segs()
H A Dnlmsec.c410 switch (csp->csp_mode) { in xlp_sec_probesession()
611 switch (csp->csp_mode) { in xlp_sec_process()
/f-stack/freebsd/opencrypto/
H A Dktls_ocf.c566 mac_csp.csp_mode = CSP_MODE_NONE; in ktls_ocf_try()
591 csp.csp_mode = CSP_MODE_AEAD; in ktls_ocf_try()
631 csp.csp_mode = CSP_MODE_CIPHER; in ktls_ocf_try()
638 mac_csp.csp_mode = CSP_MODE_DIGEST; in ktls_ocf_try()
658 if (mac_csp.csp_mode != CSP_MODE_NONE) { in ktls_ocf_try()
H A Dcryptosoft.c1041 if (csp->csp_mode == CSP_MODE_DIGEST) in swcr_setup_auth()
1050 if (csp->csp_mode == CSP_MODE_DIGEST) in swcr_setup_auth()
1057 if (csp->csp_mode == CSP_MODE_DIGEST) in swcr_setup_auth()
1071 if (csp->csp_mode == CSP_MODE_DIGEST) in swcr_setup_auth()
1078 if (csp->csp_mode == CSP_MODE_DIGEST) in swcr_setup_auth()
1248 switch (csp->csp_mode) { in swcr_probesession()
1324 switch (csp->csp_mode) { in swcr_newsession()
H A Dcrypto.c762 switch (csp->csp_mode) { in check_csp()
1291 switch (csp->csp_mode) { in crp_sanity()
1328 if (csp->csp_mode == CSP_MODE_AEAD || csp->csp_mode == CSP_MODE_ETA) { in crp_sanity()
1382 if (csp->csp_mode == CSP_MODE_DIGEST || in crp_sanity()
1383 csp->csp_mode == CSP_MODE_AEAD || csp->csp_mode == CSP_MODE_ETA) { in crp_sanity()
H A Dcryptodev.c569 csp.csp_mode = CSP_MODE_AEAD; in cse_create()
588 csp.csp_mode = CSP_MODE_AEAD; in cse_create()
590 csp.csp_mode = CSP_MODE_ETA; in cse_create()
592 csp.csp_mode = CSP_MODE_CIPHER; in cse_create()
594 csp.csp_mode = CSP_MODE_DIGEST; in cse_create()
596 switch (csp.csp_mode) { in cse_create()
673 cse->mode = csp.csp_mode; in cse_create()
H A Dcryptodev.h358 int csp_mode; /* Type of operations to perform. */ member
/f-stack/freebsd/mips/cavium/cryptocteon/
H A Dcryptocteon.c143 switch (csp->csp_mode) { in cryptocteon_probesession()
204 switch (csp->csp_mode) { in cryptocteon_newsession()
/f-stack/freebsd/crypto/aesni/
H A Daesni.c281 switch (csp->csp_mode) { in aesni_probesession()
354 switch (csp->csp_mode) { in aesni_newsession()
667 if (csp->csp_mode == CSP_MODE_ETA) { in aesni_cipher_process()
677 } else if (csp->csp_mode == CSP_MODE_DIGEST) in aesni_cipher_process()
/f-stack/freebsd/crypto/openssl/
H A Dossl.c150 switch (csp->csp_mode) { in ossl_probesession()
/f-stack/freebsd/crypto/ccp/
H A Dccp.c366 switch (csp->csp_mode) { in ccp_probesession()
474 switch (csp->csp_mode) { in ccp_newsession()
/f-stack/freebsd/netipsec/
H A Dxform_esp.c223 csp.csp_mode = CSP_MODE_AEAD; in esp_init()
227 csp.csp_mode = CSP_MODE_ETA; in esp_init()
231 csp.csp_mode = CSP_MODE_CIPHER; in esp_init()
H A Dxform_ipcomp.c175 csp.csp_mode = CSP_MODE_COMPRESS; in ipcomp_init()
H A Dxform_ah.c238 csp.csp_mode = CSP_MODE_DIGEST; in ah_init()
/f-stack/freebsd/crypto/blake2/
H A Dblake2_cryptodev.c180 switch (csp->csp_mode) { in blake2_probesession()
/f-stack/freebsd/crypto/armv8/
H A Darmv8_crypto.c214 switch (csp->csp_mode) { in armv8_crypto_probesession()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c261 csp.csp_mode = CSP_MODE_AEAD; in freebsd_crypt_newsession()