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
5extern kmutex_t cryptodev_mtx;
6
7struct csession;
8int cryptodev_op(struct csession *, struct crypt_op *, struct lwp *);
9int cryptodev_mop(struct fcrypt *, struct crypt_n_op *, int, struct lwp *);
10int cryptodev_session(struct fcrypt *, struct session_op *);
11int cryptodev_msession(struct fcrypt *, struct session_n_op *, int);
12struct csession *cryptodev_csefind(struct fcrypt *fcr, u_int ses);
13