openssl/providers/fips
Shane Lontis 4343a4187d Add self tests for rsa encryption
SP800-56br2 requires seperate KAT's (fips self tests) to be tested for both encryption and decryption
using the RSA primitive (i.e. no padding). This is specified in FIPS140-2 IG D.9

A copy of the methods EVP_PKEY_encrypt_init(), EVP_PKEY_encrypt(), EVP_PKEY_decrypt_init(), EVP_PKEY_decrypt()
are now in the fips module.

Removed the #ifdef FIPS_MODULE in evp_pkey_ctx_free_old_ops().

Added corruption test

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12835)
2020-09-16 14:10:23 +10:00
..
build.info Add pairwise consistency self tests to asym keygenerators 2020-03-03 14:02:36 +10:00
fipsprov.c keygen: add FIPS error state management to conditional self tests 2020-09-12 16:46:51 +10:00
self_test_data.inc Add self tests for rsa encryption 2020-09-16 14:10:23 +10:00
self_test_kats.c Add self tests for rsa encryption 2020-09-16 14:10:23 +10:00
self_test.c keygen: add FIPS error state management to conditional self tests 2020-09-12 16:46:51 +10:00
self_test.h keygen: add FIPS error state management to conditional self tests 2020-09-12 16:46:51 +10:00