Home
last modified time | relevance | path

Searched refs:CRYPTO_OP_ENCRYPT (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/opencrypto/
H A Dcryptodev.h586 #define CRYPTO_OP_ENCRYPT 0x1 macro
587 #define CRYPTO_OP_IS_ENCRYPT(op) ((op) & CRYPTO_OP_ENCRYPT)
591 #define CRYPTO_OP_COMPRESS CRYPTO_OP_ENCRYPT
H A Dktls_ocf.c377 crp->crp_op = CRYPTO_OP_ENCRYPT; in ktls_ocf_tls_cbc_encrypt()
611 crp->crp_op = CRYPTO_OP_ENCRYPT | CRYPTO_OP_COMPUTE_DIGEST; in ktls_ocf_tls12_aead_encrypt()
756 crp.crp_op = CRYPTO_OP_ENCRYPT; in ktls_ocf_tls12_aead_recrypt()
840 crp->crp_op = CRYPTO_OP_ENCRYPT | CRYPTO_OP_COMPUTE_DIGEST; in ktls_ocf_tls13_aead_encrypt()
943 crp.crp_op = CRYPTO_OP_ENCRYPT; in ktls_ocf_tls13_aead_recrypt()
H A Dcryptodev.c710 crp->crp_op = CRYPTO_OP_ENCRYPT; in cryptodev_op()
746 crp->crp_op = CRYPTO_OP_ENCRYPT | in cryptodev_op()
939 crp->crp_op = CRYPTO_OP_ENCRYPT | in cryptodev_aead()
H A Dcrypto.c1292 KASSERT(crp->crp_op == CRYPTO_OP_ENCRYPT || in crp_sanity()
1303 (CRYPTO_OP_ENCRYPT | CRYPTO_OP_COMPUTE_DIGEST) || in crp_sanity()
1312 (CRYPTO_OP_ENCRYPT | CRYPTO_OP_COMPUTE_DIGEST) || in crp_sanity()
/freebsd/sys/geom/eli/
H A Dg_eli_crypto.c87 crp->crp_op = enc ? CRYPTO_OP_ENCRYPT : CRYPTO_OP_DECRYPT; in g_eli_crypto_cipher()
H A Dg_eli_privacy.c329 crp->crp_op = CRYPTO_OP_ENCRYPT; in g_eli_crypto_run()
H A Dg_eli_integrity.c552 crp->crp_op = CRYPTO_OP_ENCRYPT | in g_eli_auth_run()
/freebsd/tests/sys/opencrypto/
H A Dcryptodevh.py225 CRYPTO_OP_ENCRYPT = 0x1 variable
/freebsd/sys/dev/wg/
H A Dwg_crypto.c224 crp.crp_op = CRYPTO_OP_ENCRYPT | CRYPTO_OP_COMPUTE_DIGEST; in chacha20poly1305_encrypt_mbuf()
/freebsd/sys/kgssapi/krb5/
H A Dkcrypto_aes.c148 crp->crp_op = encrypt ? CRYPTO_OP_ENCRYPT : CRYPTO_OP_DECRYPT; in aes_encrypt_1()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c356 crp->crp_op = CRYPTO_OP_ENCRYPT | in freebsd_crypt_uio()
/freebsd/sys/netipsec/
H A Dxform_esp.c889 crp->crp_op = CRYPTO_OP_ENCRYPT; in esp_output()
/freebsd/sys/dev/safexcel/
H A Dsafexcel.c2510 CRYPTO_OP_ENCRYPT, csp->csp_cipher_key, csp->csp_auth_key, in safexcel_newsession()
/freebsd/sys/net/
H A Dif_ovpn.c1941 crp->crp_op = CRYPTO_OP_ENCRYPT; in ovpn_transmit_to_peer()