cryptodev_internal.h revision 1.3
11.3Sknakahar/* $NetBSD: cryptodev_internal.h,v 1.3 2017/06/02 09:46:57 knakahara Exp $ */
21.1Sdrochner
31.1Sdrochner/* exported to compat code, not for consumers */
41.1Sdrochner
51.3Sknakaharextern kmutex_t cryptodev_mtx;
61.2Sknakahar
71.1Sdrochnerstruct csession;
81.1Sdrochnerint cryptodev_op(struct csession *, struct crypt_op *, struct lwp *);
91.1Sdrochnerint cryptodev_mop(struct fcrypt *, struct crypt_n_op *, int, struct lwp *);
101.1Sdrochnerint cryptodev_session(struct fcrypt *, struct session_op *);
111.1Sdrochnerint cryptodev_msession(struct fcrypt *, struct session_n_op *, int);
121.1Sdrochnerstruct csession *cryptodev_csefind(struct fcrypt *fcr, u_int ses);
13