openssl/providers/fips
Neil Horman 3206bb7082 Revert "fips: remove redundant RSA encrypt/decrypt KAT"
This reverts commit 635bf4946a.

During code review for FIPS-140-3 certification, our lab noticed that
the known answer test for RSA was removed.  This was done in the above
commit, as part of
https://github.com/openssl/openssl/pull/25988

Under the assertion that FIPS 140-3 Implementation Guidance section D.G
had relaxed the requirements for testing, obviating the need for this
test.

However, for the 3.5 FIPS-140-3 certification we are adding assertions
for support of KAS-IFC-SSC, which follows FIPS-140-3 I.G section D.F,
which does not contain the same relaxed constraints.  As such we need to
reintroduce the test.

While the specifics of the I.G requirements are slightly different in
D.F (allowing for other, potentially less time-consuming tests), the
most expedient path forward here is to simply re-introduce the test as
it existed previously, hence the reversion of the above commit.

Fixes openssl/private#832

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28676)
2025-09-27 16:01:19 -04:00
..
include FIPS: Don't allow SHA512-224 and SHA512-256 for ECDSA/DSA signatures 2025-09-03 09:48:47 +10:00
build.info
fips_entry.c
fipsindicator.c Copyright year updates 2025-09-02 13:05:45 +00:00
fipsprov.c Move the open-coded aligned alloc in a separate file and use it in FIPS module 2025-09-16 09:59:13 -04:00
self_test.c Add OSSL_SELF_TEST_TYPE_PCT_IMPORT transient error state 2025-08-30 09:10:59 -04:00
self_test.h
self_test_data.inc Revert "fips: remove redundant RSA encrypt/decrypt KAT" 2025-09-27 16:01:19 -04:00
self_test_kats.c Revert "fips: remove redundant RSA encrypt/decrypt KAT" 2025-09-27 16:01:19 -04:00