Re: [PATCH 2/2] certs: Guard RSA signature verification self-test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 15, 2024 at 10:23:47PM -0500, Joachim Vandersmissen wrote:
> Currently it is possible to configure the kernel (albeit in a very
> contrived manner) such that CRYPTO_RSA is not set, yet
> FIPS_SIGNATURE_SELFTEST is set. This would cause a false kernel panic
> when executing the RSA PKCS#7 self-test. Guard against this by
> introducing a compile-time check.
> 
> Signed-off-by: Joachim Vandersmissen <git@xxxxxxxxx>

The usual way to handle this is to add a select to the Kconfig file.

Thanks,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux