mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Export the _kern_crypto sysctl node from crypto.c.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D24545
This commit is contained in:
parent
9c0e3d3a53
commit
33f3bad35e
2 changed files with 5 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ static struct mtx crypto_q_mtx;
|
|||
#define CRYPTO_Q_LOCK() mtx_lock(&crypto_q_mtx)
|
||||
#define CRYPTO_Q_UNLOCK() mtx_unlock(&crypto_q_mtx)
|
||||
|
||||
static SYSCTL_NODE(_kern, OID_AUTO, crypto, CTLFLAG_RW, 0,
|
||||
SYSCTL_NODE(_kern, OID_AUTO, crypto, CTLFLAG_RW, 0,
|
||||
"In-kernel cryptography");
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -643,6 +643,10 @@ extern int crypto_usercrypto; /* userland may do crypto requests */
|
|||
extern int crypto_userasymcrypto; /* userland may do asym crypto reqs */
|
||||
extern int crypto_devallowsoft; /* only use hardware crypto */
|
||||
|
||||
#ifdef SYSCTL_DECL
|
||||
SYSCTL_DECL(_kern_crypto);
|
||||
#endif
|
||||
|
||||
/* Helper routines for drivers to initialize auth contexts for HMAC. */
|
||||
struct auth_hash;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue