1 /* $NetBSD: cryptodev_internal.h,v 1.3 2017/06/02 09:46:57 knakahara Exp $ */ 2 3 /* exported to compat code, not for consumers */ 4 5 extern kmutex_t cryptodev_mtx; 6 7 struct csession; 8 int cryptodev_op(struct csession *, struct crypt_op *, struct lwp *); 9 int cryptodev_mop(struct fcrypt *, struct crypt_n_op *, int, struct lwp *); 10 int cryptodev_session(struct fcrypt *, struct session_op *); 11 int cryptodev_msession(struct fcrypt *, struct session_n_op *, int); 12 struct csession *cryptodev_csefind(struct fcrypt *fcr, u_int ses); 13