2
0
mirror of https://github.com/openssl/openssl.git synced 2025-02-23 14:42:15 +08:00
openssl/providers/fips
Shane Lontis 3fed27181a Add FIPS Self test for AES_ECB decrypt
Fixes 

Compliance with IG 9.4 requires that an inverse cipher function be
tested if one is implemented. Just running AES_GCM encrypt/decrypt does not meet this
requirement (Since only ECB, CBC, XTS, KW, KWP support the inverse
function during decryption mode).

Added a mode to the cipher test so that the AES_GCM only does an encrypt
and AES_ECB only does a decrypt. TDES still does both.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14825)
2021-04-13 13:06:37 +10:00
..
build.info
fipsprov.c APPS: Replace the use of OBJ_nid2ln() with name or description calls 2021-04-02 08:57:47 +02:00
self_test_data.inc Add FIPS Self test for AES_ECB decrypt 2021-04-13 13:06:37 +10:00
self_test_kats.c Add FIPS Self test for AES_ECB decrypt 2021-04-13 13:06:37 +10:00
self_test.c Always check CRYPTO_LOCK_{read,write}_lock 2021-03-14 15:33:34 +10:00
self_test.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00