Messages in this thread | | | Date | Thu, 24 Jan 2013 09:59:07 -0500 | From | Kyle McMartin <> | Subject | Re: [PATCH] MODSIGN: only panic in fips mode if sig_enforce is set |
| |
On Wed, Jan 23, 2013 at 04:18:32PM +0100, Stephan Mueller wrote: > 3. in the cipher initialization code of the crypto API (i.e. the one > behind crypto_register_alg()), you check the signature check flag -- > panic the kernel when the flag shows that the signature check failed > > This way you limit the panic on signature checks in FIPS mode to the > crypto modules. >
I was hoping we could just do what we do for driver/staging and set a flag in modpost for crypto modules, but it looks like since we have crypto modules outside of crypto/ for things like aesni, that won't work. Maybe that is a better choice, but it seems like an awful kludge.
--Kyle
| |