Changeset View
Changeset View
Standalone View
Standalone View
head/sys/opencrypto/cryptodev.h
Show First 20 Lines • Show All 616 Lines • ▼ Show 20 Lines | |||||
extern int crypto_kdispatch(struct cryptkop *); | extern int crypto_kdispatch(struct cryptkop *); | ||||
#define CRYPTO_SYMQ 0x1 | #define CRYPTO_SYMQ 0x1 | ||||
#define CRYPTO_ASYMQ 0x2 | #define CRYPTO_ASYMQ 0x2 | ||||
extern int crypto_unblock(u_int32_t, int); | extern int crypto_unblock(u_int32_t, int); | ||||
extern void crypto_done(struct cryptop *crp); | extern void crypto_done(struct cryptop *crp); | ||||
extern void crypto_kdone(struct cryptkop *); | extern void crypto_kdone(struct cryptkop *); | ||||
extern int crypto_getfeat(int *); | extern int crypto_getfeat(int *); | ||||
extern void crypto_destroyreq(struct cryptop *crp); | |||||
extern void crypto_initreq(struct cryptop *crp, crypto_session_t cses); | |||||
extern void crypto_freereq(struct cryptop *crp); | extern void crypto_freereq(struct cryptop *crp); | ||||
extern struct cryptop *crypto_getreq(crypto_session_t cses, int how); | extern struct cryptop *crypto_getreq(crypto_session_t cses, int how); | ||||
extern int crypto_usercrypto; /* userland may do crypto requests */ | extern int crypto_usercrypto; /* userland may do crypto requests */ | ||||
extern int crypto_userasymcrypto; /* userland may do asym crypto reqs */ | extern int crypto_userasymcrypto; /* userland may do asym crypto reqs */ | ||||
extern int crypto_devallowsoft; /* only use hardware crypto */ | extern int crypto_devallowsoft; /* only use hardware crypto */ | ||||
#ifdef SYSCTL_DECL | #ifdef SYSCTL_DECL | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |