Home
last modified time | relevance | path

Searched refs:CRYPTO_F_IV_SEPARATE (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/opencrypto/
H A Dktls_ocf.c378 crp->crp_flags = CRYPTO_F_CBIMM | CRYPTO_F_IV_SEPARATE; in ktls_ocf_tls_cbc_encrypt()
612 crp->crp_flags = CRYPTO_F_CBIMM | CRYPTO_F_IV_SEPARATE; in ktls_ocf_tls12_aead_encrypt()
684 crp.crp_flags = CRYPTO_F_CBIMM | CRYPTO_F_IV_SEPARATE; in ktls_ocf_tls12_aead_decrypt()
757 crp.crp_flags = CRYPTO_F_CBIMM | CRYPTO_F_IV_SEPARATE; in ktls_ocf_tls12_aead_recrypt()
841 crp->crp_flags = CRYPTO_F_CBIMM | CRYPTO_F_IV_SEPARATE; in ktls_ocf_tls13_aead_encrypt()
899 crp.crp_flags = CRYPTO_F_CBIMM | CRYPTO_F_IV_SEPARATE; in ktls_ocf_tls13_aead_decrypt()
944 crp.crp_flags = CRYPTO_F_CBIMM | CRYPTO_F_IV_SEPARATE; in ktls_ocf_tls13_aead_recrypt()
H A Dcryptodev.h439 #define CRYPTO_F_IV_SEPARATE 0x0200 /* Use crp_iv[] as IV. */ macro
700 if (crp->crp_flags & CRYPTO_F_IV_SEPARATE) in crypto_read_iv()
H A Dcryptosoft.c129 (crp->crp_flags & CRYPTO_F_IV_SEPARATE) == 0) in swcr_encdec()
425 if ((crp->crp_flags & CRYPTO_F_IV_SEPARATE) == 0) in swcr_gcm()
763 if ((crp->crp_flags & CRYPTO_F_IV_SEPARATE) == 0) in swcr_ccm()
983 if ((crp->crp_flags & CRYPTO_F_IV_SEPARATE) == 0) in swcr_chacha20_poly1305()
H A Dcrypto.c1314 KASSERT(crp->crp_flags & CRYPTO_F_IV_SEPARATE, in crp_sanity()
1350 KASSERT((crp->crp_flags & CRYPTO_F_IV_SEPARATE) == 0, in crp_sanity()
1354 } else if (crp->crp_flags & CRYPTO_F_IV_SEPARATE) { in crp_sanity()
H A Dcryptodev.c783 crp->crp_flags |= CRYPTO_F_IV_SEPARATE; in cryptodev_op()
993 crp->crp_flags |= CRYPTO_F_IV_SEPARATE; in cryptodev_aead()
/freebsd/sys/dev/wg/
H A Dwg_crypto.c225 crp.crp_flags = CRYPTO_F_IV_SEPARATE | CRYPTO_F_CBIMM; in chacha20poly1305_encrypt_mbuf()
248 crp.crp_flags = CRYPTO_F_IV_SEPARATE | CRYPTO_F_CBIMM; in chacha20poly1305_decrypt_mbuf()
/freebsd/sys/geom/eli/
H A Dg_eli_crypto.c86 crp->crp_flags = CRYPTO_F_CBIFSYNC | CRYPTO_F_IV_SEPARATE; in g_eli_crypto_cipher()
H A Dg_eli_privacy.c343 crp->crp_flags |= CRYPTO_F_IV_SEPARATE; in g_eli_crypto_run()
H A Dg_eli_integrity.c568 crp->crp_flags |= CRYPTO_F_IV_SEPARATE; in g_eli_auth_run()
/freebsd/sys/kgssapi/krb5/
H A Dkcrypto_aes.c149 crp->crp_flags = CRYPTO_F_CBIFSYNC | CRYPTO_F_IV_SEPARATE; in aes_encrypt_1()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c361 crp->crp_flags = CRYPTO_F_CBIFSYNC | CRYPTO_F_IV_SEPARATE; in freebsd_crypt_uio()
/freebsd/sys/netipsec/
H A Dxform_esp.c467 crp->crp_flags |= CRYPTO_F_IV_SEPARATE; in esp_input()
906 crp->crp_flags |= CRYPTO_F_IV_SEPARATE; in esp_output()
/freebsd/sys/crypto/aesni/
H A Daesni.c585 if ((crp->crp_flags & CRYPTO_F_IV_SEPARATE) == 0) in aesni_cipher_process()
/freebsd/sys/net/
H A Dif_ovpn.c1941 crp->crp_flags |= CRYPTO_F_IV_SEPARATE; in ovpn_transmit_to_peer()
2341 crp->crp_flags |= CRYPTO_F_IV_SEPARATE; in ovpn_udp_input()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c1155 if ((crp->crp_flags & CRYPTO_F_IV_SEPARATE) == 0) in ccr_gcm()
1490 if ((crp->crp_flags & CRYPTO_F_IV_SEPARATE) == 0) in ccr_ccm()