openssl/crypto/dsa
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 Use build.info, not ifdef for crypto modules 2020-04-16 13:52:22 +02:00
dsa_ameth.c Constify X509_PUBKEY_get(), X509_PUBKEY_get0(), and X509_PUBKEY_get0_param() 2020-05-26 09:35:05 +02:00
dsa_asn1.c Update copyright year 2020-04-23 13:55:52 +01:00
dsa_backend.c Add DSA keygen to provider 2020-04-15 21:02:52 +10:00
dsa_check.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
dsa_depr.c Update copyright year 2020-04-23 13:55:52 +01:00
dsa_err.c Generate error queue entry on FFC_CHECK_BAD_LN_PAIR for DH and DSA 2020-06-10 11:08:21 +02:00
dsa_gen.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
dsa_key.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
dsa_lib.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
dsa_local.h Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
dsa_meth.c Update copyright year 2020-04-23 13:55:52 +01:00
dsa_ossl.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
dsa_pmeth.c Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
dsa_prn.c Update copyright year 2020-04-23 13:55:52 +01:00
dsa_sign.c Update copyright year 2020-04-23 13:55:52 +01:00
dsa_vrf.c Update copyright year 2020-04-23 13:55:52 +01:00