@@ -41,10 +41,9 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/time.h>
+#include <crypto/internal/jitterentropy.h>
#include <crypto/internal/rng.h>
-#include "jitterentropy.h"
-
/***************************************************************************
* Helper function
***************************************************************************/
@@ -133,7 +133,7 @@ struct rand_data {
#define JENT_ENTROPY_SAFETY_FACTOR 64
#include <linux/fips.h>
-#include "jitterentropy.h"
+#include <crypto/internal/jitterentropy.h>
/***************************************************************************
* Adaptive Proportion Test
similarity index 100%
rename from crypto/jitterentropy.h
rename to include/crypto/internal/jitterentropy.h
To support the ESDM operation which uses the Jitter RNG separately from the kernel crypto API, the header file must be accessible to the ESDM code. Signed-off-by: Stephan Mueller <smueller@chronox.de> --- crypto/jitterentropy-kcapi.c | 3 +-- crypto/jitterentropy.c | 2 +- {crypto => include/crypto/internal}/jitterentropy.h | 0 3 files changed, 2 insertions(+), 3 deletions(-) rename {crypto => include/crypto/internal}/jitterentropy.h (100%)