Home
last modified time | relevance | path

Searched refs:cryptop (Results 1 – 25 of 56) sorted by relevance

123

/freebsd-13.1/sys/opencrypto/
H A Dcryptodev.h447 struct cryptop { struct
448 TAILQ_ENTRY(cryptop) crp_next;
558 crypto_use_buf(struct cryptop *crp, void *buf, int len) in crypto_use_buf()
564 crypto_use_mbuf(struct cryptop *crp, struct mbuf *m) in crypto_use_mbuf()
582 crypto_use_uio(struct cryptop *crp, struct uio *uio) in crypto_use_uio()
680 extern int crypto_dispatch(struct cryptop *crp);
685 extern void crypto_done(struct cryptop *crp);
689 extern void crypto_destroyreq(struct cryptop *crp);
691 extern void crypto_freereq(struct cryptop *crp);
721 int crypto_apply(struct cryptop *crp, int off, int len,
[all …]
H A Dcrypto.c1313 crp_sanity(struct cryptop *crp) in crp_sanity()
1709 struct cryptop *crp; in crypto_task_invoke()
1712 crp = (struct cryptop *)ctx; in crypto_task_invoke()
1787 struct cryptop *crp2; in crypto_destroyreq()
1834 struct cryptop *
1837 struct cryptop *crp; in crypto_getreq()
1850 crypto_done(struct cryptop *crp) in crypto_done()
1887 struct cryptop *tmp; in crypto_done()
1998 struct cryptop *crp, *submit; in crypto_dispatch_thread()
2147 struct cryptop *crpt; in crypto_ret_thread()
[all …]
H A Dcryptosoft.c81 int (*swcr_process)(struct swcr_session *, struct cryptop *);
94 swcr_null(struct swcr_session *ses, struct cryptop *crp) in swcr_null()
104 swcr_encdec(struct swcr_session *ses, struct cryptop *crp) in swcr_encdec()
313 swcr_authcompute(struct swcr_session *ses, struct cryptop *crp) in swcr_authcompute()
384 swcr_gmac(struct swcr_session *ses, struct cryptop *crp) in swcr_gmac()
461 swcr_gcm(struct swcr_session *ses, struct cryptop *crp) in swcr_gcm()
692 swcr_ccm_cbc_mac(struct swcr_session *ses, struct cryptop *crp) in swcr_ccm_cbc_mac()
750 swcr_ccm(struct swcr_session *ses, struct cryptop *crp) in swcr_ccm()
1092 swcr_eta(struct swcr_session *ses, struct cryptop *crp) in swcr_eta()
1112 swcr_compdec(struct swcr_session *ses, struct cryptop *crp) in swcr_compdec()
[all …]
H A Dktls_ocf.c130 ktls_ocf_callback(struct cryptop *crp) in ktls_ocf_callback()
143 ktls_ocf_dispatch(struct ocf_session *os, struct cryptop *crp) in ktls_ocf_dispatch()
184 struct cryptop crp; in ktls_ocf_tls_cbc_encrypt()
344 struct cryptop crp; in ktls_ocf_tls12_aead_encrypt()
447 struct cryptop crp; in ktls_ocf_tls12_aead_decrypt()
516 struct cryptop crp; in ktls_ocf_tls13_aead_encrypt()
/freebsd-13.1/sys/crypto/openssl/
H A Dossl.h37 struct cryptop;
40 int ossl_chacha20(struct cryptop *crp,
42 int ossl_chacha20_poly1305_decrypt(struct cryptop *crp,
44 int ossl_chacha20_poly1305_encrypt(struct cryptop *crp,
/freebsd-13.1/sys/crypto/ccp/
H A Dccp.h222 struct cryptop *crp) __must_check;
224 struct cryptop *crp) __must_check;
225 int ccp_gcm(struct ccp_queue *sc, struct ccp_session *s, struct cryptop *crp)
227 int ccp_hmac(struct ccp_queue *sc, struct ccp_session *s, struct cryptop *crp)
H A Dccp_hardware.c1205 struct cryptop *crp, int error) in ccp_do_hmac_done()
1252 struct cryptop *crp; in ccp_hmac_done()
1259 ccp_do_hmac(struct ccp_queue *qp, struct ccp_session *s, struct cryptop *crp, in ccp_do_hmac()
1307 ccp_hmac(struct ccp_queue *qp, struct ccp_session *s, struct cryptop *crp) in ccp_hmac()
1336 struct cryptop *crp; in ccp_blkcipher_done()
1352 ccp_collect_iv(struct cryptop *crp, const struct crypto_session_params *csp, in ccp_collect_iv()
1397 ccp_do_xts(struct ccp_queue *qp, struct ccp_session *s, struct cryptop *crp, in ccp_do_xts()
1468 struct cryptop *crp, const struct ccp_completion_ctx *cctx) in ccp_do_blkcipher()
1686 struct cryptop *crp; in ccp_authenc_done()
1834 struct cryptop *crp; in ccp_gcm_done()
[all …]
/freebsd-13.1/sys/dev/sec/
H A Dsec.c78 struct sec_dma_mem *dma_mem, struct cryptop *crp, bus_size_t size,
93 static int sec_process(device_t dev, struct cryptop *crp, int hint);
96 struct cryptop *crp);
99 struct cryptop *crp);
107 struct cryptop *crp);
116 struct cryptop *crp);
519 struct cryptop *crp; in sec_primary_intr()
1241 sec_process(device_t dev, struct cryptop *crp, int hint) in sec_process()
1323 const struct crypto_session_params *csp, struct cryptop *crp) in sec_build_common_ns_desc()
1443 struct cryptop *crp) in sec_aesu_make_desc()
[all …]
/freebsd-13.1/sys/crypto/via/
H A Dpadlock.h79 struct cryptop *crp, const struct crypto_session_params *csp);
84 struct cryptop *crp, const struct crypto_session_params *csp);
H A Dpadlock_cipher.c168 padlock_cipher_alloc(struct cryptop *crp, int *allocated) in padlock_cipher_alloc()
185 padlock_cipher_process(struct padlock_session *ses, struct cryptop *crp, in padlock_cipher_process()
H A Dpadlock.c69 static int padlock_process(device_t, struct cryptop *crp, int hint __unused);
230 padlock_process(device_t dev, struct cryptop *crp, int hint __unused) in padlock_process()
/freebsd-13.1/sys/dev/glxsb/
H A Dglxsb.c173 struct cryptop *to_crp; /* cryptop to perfom */
212 static int glxsb_crypto_encdec(struct cryptop *, struct glxsb_session *,
216 static int glxsb_crypto_process(device_t, struct cryptop *, int);
627 glxsb_crypto_encdec(struct cryptop *crp, struct glxsb_session *ses, in glxsb_crypto_encdec()
715 struct cryptop *crp; in glxsb_crypto_task()
752 glxsb_crypto_process(device_t dev, struct cryptop *crp, int hint) in glxsb_crypto_process()
H A Dglxsb_hash.c66 glxsb_authcompute(struct glxsb_session *ses, struct cryptop *crp) in glxsb_authcompute()
136 const struct crypto_session_params *csp, struct cryptop *crp) in glxsb_hash_process()
H A Dglxsb.h50 const struct crypto_session_params *csp, struct cryptop *crp);
/freebsd-13.1/sys/crypto/aesni/
H A Daesni.c92 static int aesni_cipher_process(struct aesni_session *ses, struct cryptop *crp);
93 static int aesni_cipher_crypt(struct aesni_session *ses, struct cryptop *crp,
95 static int aesni_cipher_mac(struct aesni_session *ses, struct cryptop *crp,
372 aesni_process(device_t dev, struct cryptop *crp, int hint __unused) in aesni_process()
387 aesni_cipher_alloc(struct cryptop *crp, int start, int length, bool *allocated) in aesni_cipher_alloc()
637 aesni_cipher_process(struct aesni_session *ses, struct cryptop *crp) in aesni_cipher_process()
697 aesni_cipher_crypt(struct aesni_session *ses, struct cryptop *crp, in aesni_cipher_crypt()
847 aesni_cipher_mac(struct aesni_session *ses, struct cryptop *crp, in aesni_cipher_mac()
/freebsd-13.1/sys/netipsec/
H A Dxform_ipcomp.c93 static int ipcomp_input_cb(struct cryptop *crp);
94 static int ipcomp_output_cb(struct cryptop *crp);
199 struct cryptop *crp; in ipcomp_input()
279 ipcomp_input_cb(struct cryptop *crp) in ipcomp_input_cb()
400 struct cryptop *crp; in ipcomp_output()
525 ipcomp_output_cb(struct cryptop *crp) in ipcomp_output_cb()
/freebsd-13.1/sys/geom/eli/
H A Dg_eli_privacy.c93 g_eli_crypto_read_done(struct cryptop *crp) in g_eli_crypto_read_done()
144 g_eli_crypto_write_done(struct cryptop *crp) in g_eli_crypto_write_done()
264 struct cryptop *crp; in g_eli_crypto_run()
H A Dg_eli_crypto.c52 g_eli_crypto_done(struct cryptop *crp) in g_eli_crypto_done()
65 struct cryptop *crp; in g_eli_crypto_cipher()
/freebsd-13.1/sys/crypto/armv8/
H A Darmv8_crypto.c91 struct cryptop *);
350 armv8_crypto_process(device_t dev, struct cryptop *crp, int hint __unused) in armv8_crypto_process()
361 armv8_crypto_cipher_alloc(struct cryptop *crp, int start, int length, int *allocated) in armv8_crypto_cipher_alloc()
381 struct cryptop *crp) in armv8_crypto_cipher_process()
/freebsd-13.1/sys/mips/nlm/dev/sec/
H A Dnlmsec.c80 static int xlp_sec_process(device_t , struct cryptop *, int);
83 static int xlp_get_nsegs(struct cryptop *, unsigned int *);
457 struct cryptop *crp = NULL; in xlp_copyiv()
466 xlp_get_nsegs(struct cryptop *crp, unsigned int *nsegs) in xlp_get_nsegs()
568 xlp_sec_process(device_t dev, struct cryptop *crp, int hint) in xlp_sec_process()
/freebsd-13.1/sys/kgssapi/krb5/
H A Dkcrypto_aes.c120 aes_crypto_cb(struct cryptop *crp) in aes_crypto_cb()
144 struct cryptop *crp; in aes_encrypt_1()
323 struct cryptop *crp; in aes_checksum()
/freebsd-13.1/sys/crypto/blake2/
H A Dblake2_cryptodev.c78 struct cryptop *crp);
225 blake2_process(device_t dev, struct cryptop *crp, int hint __unused) in blake2_process()
330 blake2_cipher_process(struct blake2_session *ses, struct cryptop *crp) in blake2_cipher_process()
/freebsd-13.1/sys/dev/qat/
H A Dqat_hw17var.h78 struct qat_sym_cookie *, struct cryptop *);
H A Dqat_hw15var.h103 struct qat_sym_cookie *, struct cryptop *);
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c142 freebsd_zfs_crypt_done(struct cryptop *crp) in freebsd_zfs_crypt_done()
163 zfs_crypto_dispatch(freebsd_crypt_session_t *session, struct cryptop *crp) in zfs_crypto_dispatch()
332 struct cryptop *crp; in freebsd_crypt_uio()
502 struct cryptop *crp; in freebsd_crypt_uio()

123