openssl/include/internal
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
..
__DECC_INCLUDE_EPILOGUE.H
__DECC_INCLUDE_PROLOGUE.H
bio.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
comp.h
conf.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
constant_time.h s390x assembly pack: process x25519 and x448 non-canonical values 2019-11-05 13:53:04 +01:00
core.h Update copyright year 2020-06-04 14:33:57 +01:00
cryptlib.h Fix ERR_print_errors so that it matches the documented format in doc/man3/ERR_error_string.pod 2020-05-26 12:44:36 +10:00
dane.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
deprecated.h Update copyright year 2020-04-23 13:55:52 +01:00
der.h PROV: Add the beginning of a DER writing library 2020-04-07 11:16:56 +02:00
dso.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
dsoerr.h Update source files for deprecation at 3.0 2019-11-07 11:37:25 +01:00
err.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
evp.h EVP & TLS: Add necessary EC_KEY data extraction functions, and use them 2020-04-08 15:30:25 +02:00
ffc.h Add ACVP fips module tests 2020-06-17 11:33:16 +10:00
ktls.h kTLS: add Linux-specific kTLS helpers 2020-06-08 11:13:52 +01:00
namemap.h CORE: ossl_namemap_add_names(): new function to add multiple names 2019-11-29 20:42:12 +01:00
nelem.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
numbers.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
o_dir.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
packet.h Update copyright year 2020-04-23 13:55:52 +01:00
param_build_set.h Add EVP_PKEY_gettable_params support for accessing EVP_PKEY key data fields 2020-04-01 15:51:18 +10:00
property.h Add default property API's to enable and test for fips 2020-05-02 14:17:54 +10:00
propertyerr.h Fix some typos 2019-12-11 19:04:01 +01:00
provider.h Implement OSSL_PROVIDER_get0_provider_ctx() 2020-06-05 10:31:46 +01:00
refcount.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
sha3.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
sizes.h PROV: Adapt the DSA signature implementation to provide Algorithmidentifiers 2020-01-28 08:08:22 +01:00
sm3.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
sockets.h Clean up macro definitions of openssl_fdset() in apps.h and sockets.h 2020-05-15 20:23:38 +02:00
sslconf.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
symhacks.h Rename provider and core get_param_types functions 2019-08-15 11:58:25 +02:00
thread_once.h Update copyright year 2020-05-15 14:09:49 +01:00
tsan_assist.h Fix Typos 2019-07-02 14:22:29 +02:00