Home
last modified time | relevance | path

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

123

/freebsd/sys/opencrypto/
H A Dcryptodev.h414 struct cryptop { struct
415 TAILQ_ENTRY(cryptop) crp_next;
469 int (*crp_callback)(struct cryptop *); /* Callback function */ argument
479 TAILQ_HEAD(cryptopq, cryptop); argument
521 crypto_use_buf(struct cryptop *crp, void *buf, int len) in crypto_use_buf()
527 crypto_use_mbuf(struct cryptop *crp, struct mbuf *m) in crypto_use_mbuf()
533 crypto_use_single_mbuf(struct cryptop *crp, struct mbuf *m) in crypto_use_single_mbuf()
539 crypto_use_vmpage(struct cryptop *crp, vm_page_t *pages, int len, int offset) in crypto_use_vmpage()
545 crypto_use_uio(struct cryptop *crp, struct uio *uio) in crypto_use_uio()
551 crypto_use_output_buf(struct cryptop *crp, void *buf, int len) in crypto_use_output_buf()
[all …]
H A Dcrypto.c140 static TAILQ_HEAD(cryptop_q ,cryptop) crp_q; /* request queues */
162 TAILQ_HEAD(,cryptop) crp_ordered_ret_q; /* ordered callback queue for symetric jobs */
163 TAILQ_HEAD(,cryptop) crp_ret_q; /* callback queue for symetric jobs */
215 static int crypto_invoke(struct cryptocap *cap, struct cryptop *crp, int hint);
217 static void crypto_batch_enqueue(struct cryptop *crp);
305 sizeof(struct cryptop), NULL, NULL, NULL, NULL, in crypto_init()
1255 crp_sanity(struct cryptop *crp) in crp_sanity()
1406 crypto_dispatch_one(struct cryptop *crp, int hint) in crypto_dispatch_one()
1439 crypto_dispatch(struct cryptop *crp) in crypto_dispatch()
1445 crypto_dispatch_async(struct cryptop *crp, int flags) in crypto_dispatch_async()
[all …]
H A Dktls_ocf.c177 ktls_ocf_callback_sync(struct cryptop *crp __unused) in ktls_ocf_callback_sync()
183 ktls_ocf_callback_async(struct cryptop *crp) in ktls_ocf_callback_async()
196 ktls_ocf_dispatch(struct ktls_ocf_session *os, struct cryptop *crp) in ktls_ocf_dispatch()
235 ktls_ocf_dispatch_async_cb(struct cryptop *crp) in ktls_ocf_dispatch_async_cb()
261 struct cryptop *crp) in ktls_ocf_dispatch_async()
281 struct cryptop *crp; in ktls_ocf_tls_cbc_encrypt()
442 struct cryptop crp; in ktls_ocf_tls_cbc_decrypt()
554 struct cryptop *crp; in ktls_ocf_tls12_aead_encrypt()
635 struct cryptop crp; in ktls_ocf_tls12_aead_decrypt()
731 struct cryptop cr in ktls_ocf_tls12_aead_recrypt()
[all...]
/freebsd/sys/dev/qat/include/
H A Dqat_ocf_mem_pool.h72 struct cryptop *crp_op;
93 struct cryptop *crp_op;
120 CpaStatus qat_ocf_cookie_dma_pre_sync(struct cryptop *crp,
122 CpaStatus qat_ocf_cookie_dma_post_sync(struct cryptop *crp,
125 CpaStatus qat_ocf_cookie_dma_unload(struct cryptop *crp,
/freebsd/sys/crypto/openssl/
H A Dossl.h35 struct cryptop;
40 int ossl_chacha20_poly1305_decrypt(struct cryptop *crp,
42 int ossl_chacha20_poly1305_encrypt(struct cryptop *crp,
H A Dossl_cipher.h35 struct cryptop;
39 typedef int (ossl_cipher_process_t)(struct ossl_session_cipher*, struct cryptop*,
H A Dossl.c312 ossl_process_hash(struct ossl_session *s, struct cryptop *crp, in ossl_process_hash()
380 ossl_process_cipher(struct ossl_session *s, struct cryptop *crp, in ossl_process_cipher()
387 ossl_process_eta(struct ossl_session *s, struct cryptop *crp, in ossl_process_eta()
406 ossl_process_aead(struct ossl_session *s, struct cryptop *crp, in ossl_process_aead()
420 ossl_process(device_t dev, struct cryptop *crp, int hint) in ossl_process()
/freebsd/sys/crypto/ccp/
H A Dccp.h220 struct cryptop *crp) __must_check;
222 struct cryptop *crp) __must_check;
223 int ccp_gcm(struct ccp_queue *sc, struct ccp_session *s, struct cryptop *crp)
225 int ccp_hmac(struct ccp_queue *sc, struct ccp_session *s, struct cryptop *crp)
/freebsd/sys/dev/sec/
H A Dsec.c75 struct sec_dma_mem *dma_mem, struct cryptop *crp, bus_size_t size,
83 u_int n, struct cryptop *crp, bus_size_t doffset, bus_size_t dsize);
90 static int sec_process(device_t dev, struct cryptop *crp, int hint);
93 struct cryptop *crp);
96 struct cryptop *crp);
104 struct cryptop *crp);
113 struct cryptop *crp);
515 struct cryptop *crp; in sec_primary_intr()
833 struct cryptop *crp, bus_size_t size, struct sec_desc_map_info *sdmi) in sec_desc_map_dma()
1105 u_int n, struct cryptop *crp, bus_size_t doffset, bus_size_t dsize) in sec_make_pointer()
[all …]
/freebsd/sys/crypto/via/
H A Dpadlock.h74 struct cryptop *crp, const struct crypto_session_params *csp);
79 struct cryptop *crp, const struct crypto_session_params *csp);
H A Dpadlock_cipher.c164 padlock_cipher_alloc(struct cryptop *crp, int *allocated) in padlock_cipher_alloc()
181 padlock_cipher_process(struct padlock_session *ses, struct cryptop *crp, in padlock_cipher_process()
H A Dpadlock.c66 static int padlock_process(device_t, struct cryptop *crp, int hint __unused);
205 padlock_process(device_t dev, struct cryptop *crp, int hint __unused) in padlock_process()
/freebsd/sys/crypto/armv8/
H A Darmv8_crypto.c67 struct cryptop *);
273 armv8_crypto_process(device_t dev, struct cryptop *crp, int hint __unused) in armv8_crypto_process()
284 armv8_crypto_cipher_alloc(struct cryptop *crp, int start, int length, int *allocated) in armv8_crypto_cipher_alloc()
304 struct cryptop *crp) in armv8_crypto_cipher_process()
/freebsd/sys/crypto/aesni/
H A Daesni.c71 static int aesni_cipher_process(struct aesni_session *ses, struct cryptop *crp);
72 static int aesni_cipher_crypt(struct aesni_session *ses, struct cryptop *crp,
74 static int aesni_cipher_mac(struct aesni_session *ses, struct cryptop *crp,
310 aesni_process(device_t dev, struct cryptop *crp, int hint __unused) in aesni_process()
325 aesni_cipher_alloc(struct cryptop *crp, int start, int length, bool *allocated) in aesni_cipher_alloc()
572 aesni_cipher_process(struct aesni_session *ses, struct cryptop *crp) in aesni_cipher_process()
616 aesni_cipher_crypt(struct aesni_session *ses, struct cryptop *crp, in aesni_cipher_crypt()
771 aesni_cipher_mac(struct aesni_session *ses, struct cryptop *crp, in aesni_cipher_mac()
/freebsd/sys/dev/glxsb/
H A Dglxsb.c170 struct cryptop *to_crp; /* cryptop to perfom */
209 static int glxsb_crypto_encdec(struct cryptop *, struct glxsb_session *,
213 static int glxsb_crypto_process(device_t, struct cryptop *, int);
622 glxsb_crypto_encdec(struct cryptop *crp, struct glxsb_session *ses, in glxsb_crypto_encdec()
710 struct cryptop *crp; in glxsb_crypto_task()
747 glxsb_crypto_process(device_t dev, struct cryptop *crp, int hint) in glxsb_crypto_process()
H A Dglxsb_hash.c63 glxsb_authcompute(struct glxsb_session *ses, struct cryptop *crp) in glxsb_authcompute()
133 const struct crypto_session_params *csp, struct cryptop *crp) in glxsb_hash_process()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c137 freebsd_zfs_crypt_done(struct cryptop *crp) in freebsd_zfs_crypt_done()
150 freebsd_zfs_crypt_done_sync(struct cryptop *crp) in freebsd_zfs_crypt_done_sync()
165 zfs_crypto_dispatch(freebsd_crypt_session_t *session, struct cryptop *crp) in zfs_crypto_dispatch()
335 struct cryptop *crp; in freebsd_crypt_uio()
/freebsd/sys/crypto/blake2/
H A Dblake2_cryptodev.c55 struct cryptop *crp);
147 blake2_process(device_t dev, struct cryptop *crp, int hint __unused) in blake2_process()
251 blake2_cipher_process(struct blake2_session *ses, struct cryptop *crp) in blake2_cipher_process()
/freebsd/sys/netipsec/
H A Dxform_ipcomp.c95 static int ipcomp_input_cb(struct cryptop *crp);
96 static int ipcomp_output_cb(struct cryptop *crp);
201 struct cryptop *crp; in ipcomp_input()
283 ipcomp_input_cb(struct cryptop *crp) in ipcomp_input_cb()
404 struct cryptop *crp; in ipcomp_output()
531 ipcomp_output_cb(struct cryptop *crp) in ipcomp_output_cb()
/freebsd/sys/geom/eli/
H A Dg_eli_privacy.c87 g_eli_crypto_read_done(struct cryptop *crp) in g_eli_crypto_read_done()
138 g_eli_crypto_write_done(struct cryptop *crp) in g_eli_crypto_write_done()
258 struct cryptop *crp; in g_eli_crypto_run()
H A Dg_eli_crypto.c49 g_eli_crypto_done(struct cryptop *crp) in g_eli_crypto_done()
62 struct cryptop *crp; in g_eli_crypto_cipher()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c241 * buffer for a 'struct cryptop'. 'sg_output' contains an
431 u_int sgl_len, u_int hash_size, struct cryptop *crp) in ccr_populate_wreq()
476 ccr_hash(struct ccr_softc *sc, struct ccr_session *s, struct cryptop *crp) in ccr_hash()
600 ccr_hash_done(struct ccr_softc *sc, struct ccr_session *s, struct cryptop *crp, in ccr_hash_done()
620 ccr_cipher(struct ccr_softc *sc, struct ccr_session *s, struct cryptop *crp) in ccr_cipher()
783 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_cipher_done()
812 ccr_eta(struct ccr_softc *sc, struct ccr_session *s, struct cryptop *crp) in ccr_eta()
1106 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_eta_done()
1117 ccr_gcm(struct ccr_softc *sc, struct ccr_session *s, struct cryptop *crp) in ccr_gcm()
1377 struct cryptop *cr in ccr_gcm_done()
[all...]
/freebsd/sys/dev/qat/qat/
H A Dqat_ocf_mem_pool.c123 struct cryptop *crp; in qat_ocf_crypto_load_obuf_cb()
313 qat_ocf_cookie_dma_pre_sync(struct cryptop *crp, CpaCySymDpOpData *pOpData) in qat_ocf_cookie_dma_pre_sync()
344 qat_ocf_cookie_dma_post_sync(struct cryptop *crp, CpaCySymDpOpData *pOpData) in qat_ocf_cookie_dma_post_sync()
375 qat_ocf_cookie_dma_unload(struct cryptop *crp, CpaCySymDpOpData *pOpData) in qat_ocf_cookie_dma_unload()
/freebsd/sys/dev/wg/
H A Dwg_crypto.c208 crypto_callback(struct cryptop *crp) in crypto_callback()
218 struct cryptop crp; in chacha20poly1305_encrypt_mbuf()
241 struct cryptop crp; in chacha20poly1305_decrypt_mbuf()
/freebsd/sys/kgssapi/krb5/
H A Dkcrypto_aes.c117 aes_crypto_cb(struct cryptop *crp) in aes_crypto_cb()
141 struct cryptop *crp; in aes_encrypt_1()
320 struct cryptop *crp; in aes_checksum()

123