Home
last modified time | relevance | path

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

12

/freebsd-11-stable/sys/opencrypto/
HDcryptodev.h398 struct cryptop { struct
399 TAILQ_ENTRY(cryptop) crp_next;
432 int (*crp_callback)(struct cryptop *); /* Callback function */ argument
489 extern int crypto_dispatch(struct cryptop *crp);
494 extern void crypto_done(struct cryptop *crp);
498 extern void crypto_freereq(struct cryptop *crp);
499 extern struct cryptop *crypto_getreq(int num);
HDcrypto.c139 static TAILQ_HEAD(,cryptop) crp_q; /* request queues */
153 static TAILQ_HEAD(,cryptop) crp_ret_q; /* callback queues */
179 static int crypto_invoke(struct cryptocap *cap, struct cryptop *crp, int hint);
239 cryptop_zone = uma_zcreate("cryptop", sizeof (struct cryptop), in crypto_init()
819 crypto_dispatch(struct cryptop *crp) in crypto_dispatch()
1043 crypto_invoke(struct cryptocap *cap, struct cryptop *crp, int hint) in crypto_invoke()
1091 crypto_freereq(struct cryptop *crp) in crypto_freereq()
1100 struct cryptop *crp2; in crypto_freereq()
1129 struct cryptop *
1133 struct cryptop *crp; in crypto_getreq()
[all …]
HDcryptodev_if.m47 struct cryptop *op;
/freebsd-11-stable/sys/geom/eli/
HDg_eli_privacy.c68 g_eli_crypto_read_done(struct cryptop *crp) in g_eli_crypto_read_done()
119 g_eli_crypto_write_done(struct cryptop *crp) in g_eli_crypto_write_done()
232 struct cryptop *crp; in g_eli_crypto_run()
277 crp = (struct cryptop *)p; p += sizeof(*crp); in g_eli_crypto_run()
HDg_eli_crypto.c50 g_eli_crypto_done(struct cryptop *crp) in g_eli_crypto_done()
63 struct cryptop *crp; in g_eli_crypto_cipher()
84 crp = (struct cryptop *)p; p += sizeof(*crp); in g_eli_crypto_cipher()
HDg_eli_integrity.c129 g_eli_auth_read_done(struct cryptop *crp) in g_eli_auth_read_done()
254 g_eli_auth_write_done(struct cryptop *crp) in g_eli_auth_write_done()
362 size += sizeof(struct cryptop) * nsec; in g_eli_auth_read()
407 struct cryptop *crp; in g_eli_auth_run()
460 crp = (struct cryptop *)p; p += sizeof(*crp); in g_eli_auth_run()
/freebsd-11-stable/sys/crypto/via/
HDpadlock.h87 struct cryptodesc *enccrd, struct cryptop *crp);
91 struct cryptodesc *maccrd, struct cryptop *crp);
HDpadlock_cipher.c169 padlock_cipher_alloc(struct cryptodesc *enccrd, struct cryptop *crp, in padlock_cipher_alloc()
202 struct cryptop *crp) in padlock_cipher_process()
HDpadlock.c70 static int padlock_process(device_t, struct cryptop *crp, int hint __unused);
309 padlock_process(device_t dev, struct cryptop *crp, int hint __unused) in padlock_process()
/freebsd-11-stable/sys/dev/sec/
HDsec.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,
109 struct sec_session *ses, struct sec_desc *desc, struct cryptop *crp,
116 struct sec_session *ses, struct sec_desc *desc, struct cryptop *crp,
126 struct sec_session *ses, struct sec_desc *desc, struct cryptop *crp,
1208 sec_split_crp(struct cryptop *crp, struct cryptodesc **enc, in sec_split_crp()
1363 sec_process(device_t dev, struct cryptop *crp, int hint) in sec_process()
1494 struct sec_session *ses, struct cryptop *crp, struct cryptodesc *enc, in sec_build_common_ns_desc()
[all …]
HDsec.h134 struct cryptop *sd_crp;
150 struct cryptop *crp, int buftype);
/freebsd-11-stable/sys/mips/nlm/dev/sec/
HDnlmseclib.h95 struct cryptop *crp;
144 void xlp_sec_print_data(struct cryptop *crp);
HDnlmsec.c72 void xlp_sec_print_data(struct cryptop *crp);
77 static int xlp_sec_process(device_t , struct cryptop *, int);
80 static int xlp_get_nsegs(struct cryptop *, unsigned int *);
201 xlp_sec_print_data(struct cryptop *crp) in xlp_sec_print_data()
573 struct cryptop *crp = NULL; in xlp_copyiv()
606 xlp_get_nsegs(struct cryptop *crp, unsigned int *nsegs) in xlp_get_nsegs()
695 xlp_sec_process(device_t dev, struct cryptop *crp, int hint) in xlp_sec_process()
/freebsd-11-stable/sys/netipsec/
HDxform_ipcomp.c89 static int ipcomp_input_cb(struct cryptop *crp);
90 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()
399 struct cryptop *crp; in ipcomp_output()
529 ipcomp_output_cb(struct cryptop *crp) in ipcomp_output_cb()
HDxform_esp.c100 static int esp_input_cb(struct cryptop *op);
101 static int esp_output_cb(struct cryptop *crp);
298 struct cryptop *crp; in esp_input()
465 esp_input_cb(struct cryptop *crp) in esp_input_cb()
666 struct cryptop *crp; in esp_output()
912 esp_output_cb(struct cryptop *crp) in esp_output_cb()
HDxform_ah.c114 static int ah_input_cb(struct cryptop*);
115 static int ah_output_cb(struct cryptop*);
556 struct cryptop *crp; in ah_input()
702 ah_input_cb(struct cryptop *crp) in ah_input_cb()
863 struct cryptop *crp; in ah_output()
1086 ah_output_cb(struct cryptop *crp) in ah_output_cb()
/freebsd-11-stable/sys/kgssapi/krb5/
HDkcrypto_des3.c154 des3_crypto_cb(struct cryptop *crp) in des3_crypto_cb()
178 struct cryptop *crp; in des3_encrypt_1()
235 struct cryptop *crp; in des3_checksum()
HDkcrypto_aes.c118 aes_crypto_cb(struct cryptop *crp) in aes_crypto_cb()
142 struct cryptop *crp; in aes_encrypt_1()
321 struct cryptop *crp; in aes_checksum()
HDkcrypto_des.c144 des1_crypto_cb(struct cryptop *crp) in des1_crypto_cb()
168 struct cryptop *crp; in des1_encrypt_1()
/freebsd-11-stable/sys/dev/glxsb/
HDglxsb.c174 struct cryptop *to_crp; /* cryptop to perfom */
216 static int glxsb_crypto_encdec(struct cryptop *, struct cryptodesc *,
220 static int glxsb_crypto_process(device_t, struct cryptop *, int);
717 glxsb_crypto_encdec(struct cryptop *crp, struct cryptodesc *crd, in glxsb_crypto_encdec()
825 struct cryptop *crp; in glxsb_crypto_task()
862 glxsb_crypto_process(device_t dev, struct cryptop *crp, int hint) in glxsb_crypto_process()
HDglxsb.h53 struct cryptodesc *maccrd, struct cryptop *crp);
/freebsd-11-stable/sys/mips/rmi/dev/sec/
HDrmisec.c62 void xlr_sec_print_data(struct cryptop *crp);
66 static int xlr_sec_process(device_t dev, struct cryptop *crp, int hint);
305 xlr_sec_print_data(struct cryptop *crp) in xlr_sec_print_data()
347 xlr_sec_process(device_t dev, struct cryptop *crp, int hint) in xlr_sec_process()
/freebsd-11-stable/sys/dev/cxgbe/crypto/
HDt4_crypto.c242 ccr_populate_sglist(struct sglist *sg, struct cryptop *crp) in ccr_populate_sglist()
383 struct cryptop *crp) in ccr_populate_wreq()
426 struct cryptop *crp) in ccr_hmac()
543 ccr_hmac_done(struct ccr_softc *sc, struct ccr_session *s, struct cryptop *crp, in ccr_hmac_done()
559 struct cryptop *crp) in ccr_blkcipher()
732 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_blkcipher_done()
762 struct cryptop *crp, struct cryptodesc *crda, struct cryptodesc *crde) in ccr_authenc()
1082 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_authenc_done()
1112 struct cryptop *crp, struct cryptodesc *crda, struct cryptodesc *crde) in ccr_gcm()
1399 struct cryptop *crp, const struct cpl_fw6_pld *cpl, int error) in ccr_gcm_done()
[all …]
/freebsd-11-stable/sys/crypto/aesni/
HDaesni.c84 struct cryptodesc *enccrd, struct cryptodesc *authcrd, struct cryptop *crp);
331 aesni_process(device_t dev, struct cryptop *crp, int hint __unused) in aesni_process()
424 aesni_cipher_alloc(struct cryptodesc *enccrd, struct cryptop *crp, in aesni_cipher_alloc()
516 struct cryptodesc *authcrd, struct cryptop *crp) in aesni_cipher_process()
HDaesni.h114 uint8_t *aesni_cipher_alloc(struct cryptodesc *enccrd, struct cryptop *crp,

12