forked from wolfSSL/wolfssl
linuxkm/lkcapi_glue.c: bring in wolfcrypt/src/misc.c for ForceZero if FIPS_VERSION3_LT(6,0,0).
This commit is contained in:
@@ -37,6 +37,16 @@
|
|||||||
#include <linux/fips.h>
|
#include <linux/fips.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_FIPS) && FIPS_VERSION3_LT(6,0,0)
|
||||||
|
/* need misc.c for ForceZero(). */
|
||||||
|
#ifdef NO_INLINE
|
||||||
|
#include <wolfssl/wolfcrypt/misc.h>
|
||||||
|
#else
|
||||||
|
#define WOLFSSL_MISC_INCLUDED
|
||||||
|
#include <wolfcrypt/src/misc.c>
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef WOLFSSL_LINUXKM_LKCAPI_PRIORITY
|
#ifndef WOLFSSL_LINUXKM_LKCAPI_PRIORITY
|
||||||
/* Larger number means higher priority. The highest in-tree priority is 4001,
|
/* Larger number means higher priority. The highest in-tree priority is 4001,
|
||||||
* in the Cavium driver.
|
* in the Cavium driver.
|
||||||
|
Reference in New Issue
Block a user