#include <linux/jump_label.h>
#include <linux/pfn.h>
#include <linux/bsearch.h>
+#include <linux/fips.h>
#include "module-internal.h"
#define CREATE_TRACE_POINTS
}
/* Not having a signature is only an error if we're strict. */
+ if (err < 0 && fips_enabled)
+ panic("Module verification failed with error %d in FIPS mode\n",
+ err);
if (err == -ENOKEY && !sig_enforce)
err = 0;