]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - crypto/ansi_cprng.c
crypto: shash - avoid comparing pointers to exported functions under CFI
[mirror_ubuntu-jammy-kernel.git] / crypto / ansi_cprng.c
index c475c1129ff2a67991ada8aa82d4f0093867e32b..3f512efaba3aa11209cf6a9e9a6db1ae87d2501f 100644 (file)
@@ -7,6 +7,7 @@
  *  (C) Neil Horman <nhorman@tuxdriver.com>
  */
 
+#include <crypto/internal/cipher.h>
 #include <crypto/internal/rng.h>
 #include <linux/err.h>
 #include <linux/init.h>
@@ -470,3 +471,4 @@ subsys_initcall(prng_mod_init);
 module_exit(prng_mod_fini);
 MODULE_ALIAS_CRYPTO("stdrng");
 MODULE_ALIAS_CRYPTO("ansi_cprng");
+MODULE_IMPORT_NS(CRYPTO_INTERNAL);