opencrypto/cryptodev.h: Add includes to make more self-contained.

Reviewed by:	markj, emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34021
This commit is contained in:
John Baldwin 2022-01-25 15:20:46 -08:00
parent d930ec4ff9
commit f6459a7aa8

View File

@ -70,6 +70,8 @@
#ifdef _KERNEL
#include <opencrypto/_cryptodev.h>
#include <sys/_task.h>
#include <sys/libkern.h>
#include <sys/time.h>
#endif
/* Some initial values */
@ -603,7 +605,9 @@ const struct crypto_session_params *crypto_get_params(
const struct auth_hash *crypto_auth_hash(const struct crypto_session_params *csp);
const struct enc_xform *crypto_cipher(const struct crypto_session_params *csp);
#ifdef MALLOC_DECLARE
MALLOC_DECLARE(M_CRYPTO_DATA);
#endif
int crypto_newsession(crypto_session_t *cses,
const struct crypto_session_params *params, int crid);