openssl/crypto/rsa
Shane Lontis 4f2271d58a Add ACVP fips module tests
For FIPS validation purposes - Automated Cryptographic Validation Protocol (ACVP) tests need to be
performed. (See https://github.com/usnistgov/ACVP). These tests are very similiar to the old CAVS tests.

This PR uses a hardwired subset of these test vectors to perform similiar operations,
to show the usage and prove that the API's are able to perform the required operations.
It may also help with communication with the lab (i.e- The lab could add a test here to show
a unworking use case - which we can then address).

The EVP layer performs these tests instead of calling lower level API's
as was done in the old FOM.
Some of these tests require access to internals that are not normally allowed/required.

The config option 'acvp_tests' (enabled by default) has been added so that this
access may be removed.

The mechanism has been implemented as additional OSSL_PARAM values that can be set and get.
A callback mechanism did not seem to add any additional benefit.
These params will not be added to the gettables lists.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11572)
2020-06-17 11:33:16 +10:00
..
build.info Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_acvp_test_params.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_ameth.c RSA: Do not set NULL OAEP labels 2020-05-28 10:01:47 -07:00
rsa_asn1.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_backend.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_chk.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_crpt.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_depr.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_err.c Make the RSA ASYM_CIPHER implementation available inside the FIPS module 2020-02-13 14:14:30 +00:00
rsa_gen.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_lib.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_local.h Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_meth.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_mp_names.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_mp.c Reorganize local header files 2019-09-28 20:26:35 +02:00
rsa_none.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_oaep.c rsa_padding_add_PKCS1_OAEP_mgf1_with_libctx(): fix check of |md| 2020-05-20 21:10:10 +02:00
rsa_ossl.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_pk1.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_pmeth.c Add RSA SHA512 truncated digest support 2020-05-07 16:00:40 +10:00
rsa_prn.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_pss.c RSA: Add a less loaded PSS-parameter structure 2020-05-14 12:16:35 +02:00
rsa_saos.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_schemes.c RSA: Add rsa_schemes.c, to store scheme data and translator functions 2020-05-14 12:16:34 +02:00
rsa_sign.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
rsa_sp800_56b_check.c Update RSA keygen to use sp800-56b by default 2020-06-10 08:59:56 +10:00
rsa_sp800_56b_gen.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
rsa_ssl.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_x931.c Update copyright year 2020-04-23 13:55:52 +01:00
rsa_x931g.c Update copyright year 2020-04-23 13:55:52 +01:00