Home
last modified time | relevance | path

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

12

/freebsd-12.1/sys/opencrypto/
H A Dcrypto.c1206 struct cryptop *crp; in crypto_task_invoke()
1209 crp = (struct cryptop *)ctx; in crypto_task_invoke()
1271 crypto_freereq(struct cryptop *crp) in crypto_freereq()
1280 struct cryptop *crp2; in crypto_freereq()
1313 struct cryptop *
1317 struct cryptop *crp; in crypto_getreq()
1339 crypto_done(struct cryptop *crp) in crypto_done()
1392 struct cryptop *tmp; in crypto_done()
1500 struct cryptop *crp, *submit; in crypto_proc()
1653 struct cryptop *crpt; in crypto_ret_proc()
[all …]
H A Dcryptodev.h426 struct cryptop { struct
427 TAILQ_ENTRY(cryptop) crp_next;
470 int (*crp_callback)(struct cryptop *); /* Callback function */ argument
533 extern int crypto_dispatch(struct cryptop *crp);
538 extern void crypto_done(struct cryptop *crp);
542 extern void crypto_freereq(struct cryptop *crp);
543 extern struct cryptop *crypto_getreq(int num);
/freebsd-12.1/sys/crypto/ccp/
H A Dccp.h220 struct cryptop *crp, struct cryptodesc *crda, struct cryptodesc *crde)
223 struct cryptop *crp) __must_check;
224 int ccp_gcm(struct ccp_queue *sc, struct ccp_session *s, struct cryptop *crp,
226 int ccp_hmac(struct ccp_queue *sc, struct ccp_session *s, struct cryptop *crp)
H A Dccp_hardware.c1204 struct cryptop *crp, struct cryptodesc *crd, int error) in ccp_do_hmac_done()
1247 struct cryptop *crp; in ccp_hmac_done()
1255 ccp_do_hmac(struct ccp_queue *qp, struct ccp_session *s, struct cryptop *crp, in ccp_do_hmac()
1297 ccp_hmac(struct ccp_queue *qp, struct ccp_session *s, struct cryptop *crp) in ccp_hmac()
1329 struct cryptop *crp; in ccp_blkcipher_done()
1345 ccp_collect_iv(struct ccp_session *s, struct cryptop *crp, in ccp_collect_iv()
1415 ccp_do_xts(struct ccp_queue *qp, struct ccp_session *s, struct cryptop *crp, in ccp_do_xts()
1486 struct cryptop *crp, struct cryptodesc *crd, in ccp_do_blkcipher()
1702 struct cryptop *crp; in ccp_authenc_done()
1856 struct cryptop *crp; in ccp_gcm_done()
[all …]
/freebsd-12.1/sys/geom/eli/
H A Dg_eli_privacy.c70 g_eli_crypto_read_done(struct cryptop *crp) in g_eli_crypto_read_done()
121 g_eli_crypto_write_done(struct cryptop *crp) in g_eli_crypto_write_done()
234 struct cryptop *crp; in g_eli_crypto_run()
279 crp = (struct cryptop *)p; p += sizeof(*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()
86 crp = (struct cryptop *)p; p += sizeof(*crp); in g_eli_crypto_cipher()
H A Dg_eli_integrity.c131 g_eli_auth_read_done(struct cryptop *crp) in g_eli_auth_read_done()
256 g_eli_auth_write_done(struct cryptop *crp) in g_eli_auth_write_done()
364 size += sizeof(struct cryptop) * nsec; in g_eli_auth_read()
409 struct cryptop *crp; in g_eli_auth_run()
462 crp = (struct cryptop *)p; p += sizeof(*crp); in g_eli_auth_run()
/freebsd-12.1/sys/crypto/via/
H A Dpadlock.h84 struct cryptodesc *enccrd, struct cryptop *crp);
88 struct cryptodesc *maccrd, struct cryptop *crp);
H A Dpadlock_cipher.c169 padlock_cipher_alloc(struct cryptodesc *enccrd, struct cryptop *crp, in padlock_cipher_alloc()
202 struct cryptop *crp) in padlock_cipher_process()
H A Dpadlock.c67 static int padlock_process(device_t, struct cryptop *crp, int hint __unused);
232 padlock_process(device_t dev, struct cryptop *crp, int hint __unused) in padlock_process()
/freebsd-12.1/sys/crypto/aesni/
H A Daesni.c95 struct cryptodesc *enccrd, struct cryptodesc *authcrd, struct cryptop *crp);
97 struct cryptodesc *enccrd, struct cryptodesc *authcrd, struct cryptop *crp);
99 struct cryptop *crp);
343 aesni_process(device_t dev, struct cryptop *crp, int hint __unused) in aesni_process()
432 aesni_cipher_alloc(struct cryptodesc *enccrd, struct cryptop *crp, in aesni_cipher_alloc()
671 struct cryptodesc *authcrd, struct cryptop *crp) in aesni_cipher_process()
727 struct cryptodesc *authcrd, struct cryptop *crp) in aesni_cipher_crypt()
880 struct cryptop *crp) in aesni_cipher_mac()
/freebsd-12.1/sys/mips/nlm/dev/sec/
H A Dnlmseclib.h93 struct cryptop *crp;
138 void xlp_sec_print_data(struct cryptop *crp);
H A Dnlmsec.c74 void xlp_sec_print_data(struct cryptop *crp);
78 static int xlp_sec_process(device_t , struct cryptop *, int);
81 static int xlp_get_nsegs(struct cryptop *, unsigned int *);
201 xlp_sec_print_data(struct cryptop *crp) in xlp_sec_print_data()
518 struct cryptop *crp = NULL; in xlp_copyiv()
549 xlp_get_nsegs(struct cryptop *crp, unsigned int *nsegs) in xlp_get_nsegs()
638 xlp_sec_process(device_t dev, struct cryptop *crp, int hint) in xlp_sec_process()
/freebsd-12.1/sys/crypto/armv8/
H A Darmv8_crypto.c86 struct cryptodesc *, struct cryptop *);
282 armv8_crypto_process(device_t dev, struct cryptop *crp, int hint __unused) in armv8_crypto_process()
336 armv8_crypto_cipher_alloc(struct cryptodesc *enccrd, struct cryptop *crp, in armv8_crypto_cipher_alloc()
374 struct cryptodesc *enccrd, struct cryptop *crp) in armv8_crypto_cipher_process()
/freebsd-12.1/sys/dev/sec/
H A Dsec.c90 static int sec_process(device_t dev, struct cryptop *crp, int hint);
93 static int sec_split_crp(struct cryptop *crp, struct cryptodesc **enc,
96 struct sec_desc *desc, struct sec_session *ses, struct cryptop *crp,
99 struct sec_desc *desc, struct sec_session *ses, struct cryptop *crp,
108 struct sec_session *ses, struct sec_desc *desc, struct cryptop *crp,
115 struct sec_session *ses, struct sec_desc *desc, struct cryptop *crp,
1194 sec_split_crp(struct cryptop *crp, struct cryptodesc **enc, in sec_split_crp()
1278 sec_process(device_t dev, struct cryptop *crp, int hint) in sec_process()
1539 struct sec_desc *desc, struct cryptop *crp, int buftype) in sec_aesu_make_desc()
1599 struct sec_desc *desc, struct cryptop *crp, int buftype) in sec_deu_make_desc()
[all …]
/freebsd-12.1/sys/netipsec/
H A Dxform_ipcomp.c90 static int ipcomp_input_cb(struct cryptop *crp);
91 static int ipcomp_output_cb(struct cryptop *crp);
195 struct cryptop *crp; in ipcomp_input()
274 ipcomp_input_cb(struct cryptop *crp) in ipcomp_input_cb()
396 struct cryptop *crp; in ipcomp_output()
526 ipcomp_output_cb(struct cryptop *crp) in ipcomp_output_cb()
H A Dxform_esp.c99 static int esp_input_cb(struct cryptop *op);
100 static int esp_output_cb(struct cryptop *crp);
293 struct cryptop *crp; in esp_input()
462 esp_input_cb(struct cryptop *crp) in esp_input_cb()
654 struct cryptop *crp; in esp_output()
903 esp_output_cb(struct cryptop *crp) in esp_output_cb()
H A Dxform_ah.c113 static int ah_input_cb(struct cryptop*);
114 static int ah_output_cb(struct cryptop*);
564 struct cryptop *crp; in ah_input()
713 ah_input_cb(struct cryptop *crp) in ah_input_cb()
870 struct cryptop *crp; in ah_output()
1099 ah_output_cb(struct cryptop *crp) in ah_output_cb()
/freebsd-12.1/sys/dev/glxsb/
H A Dglxsb.c174 struct cryptop *to_crp; /* cryptop to perfom */
212 static int glxsb_crypto_encdec(struct cryptop *, struct cryptodesc *,
216 static int glxsb_crypto_process(device_t, struct cryptop *, int);
655 glxsb_crypto_encdec(struct cryptop *crp, struct cryptodesc *crd, in glxsb_crypto_encdec()
763 struct cryptop *crp; in glxsb_crypto_task()
800 glxsb_crypto_process(device_t dev, struct cryptop *crp, int hint) in glxsb_crypto_process()
H A Dglxsb.h52 struct cryptodesc *maccrd, struct cryptop *crp);
/freebsd-12.1/sys/kgssapi/krb5/
H A Dkcrypto_des3.c156 des3_crypto_cb(struct cryptop *crp) in des3_crypto_cb()
180 struct cryptop *crp; in des3_encrypt_1()
237 struct cryptop *crp; in des3_checksum()
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()
H A Dkcrypto_des.c146 des1_crypto_cb(struct cryptop *crp) in des1_crypto_cb()
170 struct cryptop *crp; in des1_encrypt_1()
/freebsd-12.1/sys/crypto/blake2/
H A Dblake2_cryptodev.c86 struct cryptop *crp);
234 blake2_process(device_t dev, struct cryptop *crp, int hint __unused) in blake2_process()
361 blake2_cipher_process(struct blake2_session *ses, struct cryptop *crp) in blake2_cipher_process()
/freebsd-12.1/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c250 ccr_populate_sglist(struct sglist *sg, struct cryptop *crp) in ccr_populate_sglist()
391 struct cryptop *crp) in ccr_populate_wreq()
753 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_blkcipher_done()
1103 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_authenc_done()
1420 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_gcm_done()
1437 ccr_gcm_soft(struct ccr_session *s, struct cryptop *crp, in ccr_gcm_soft()
1901 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_ccm_done()
1919 ccr_ccm_soft(struct ccr_session *s, struct cryptop *crp, in ccr_ccm_soft()
2668 ccr_process(device_t dev, struct cryptop *crp, int hint) in ccr_process()
2859 struct cryptop *crp; in do_cpl6_fw_pld()
[all …]

12