diff options
author | Dániel Szoboszlay <[email protected]> | 2014-05-06 17:45:48 +0200 |
---|---|---|
committer | Magnus Henoch <[email protected]> | 2016-09-28 15:09:42 +0100 |
commit | 01222faf161cf656062144d01d0f93146215736b (patch) | |
tree | b192e5b14bb96627038f70463ed6119ff6506cc9 /lib/crypto/c_src/crypto_callback.h | |
parent | 0a1feff48388c8430f5eebd1531f769605601fab (diff) | |
download | otp-01222faf161cf656062144d01d0f93146215736b.tar.gz otp-01222faf161cf656062144d01d0f93146215736b.tar.bz2 otp-01222faf161cf656062144d01d0f93146215736b.zip |
Update test suites with FIPS mode support
Every algorithm is now tested in both FIPS and non-FIPS modes (when
crypto is compiled with FIPS support). In FIPS mode non-FIPS
algorithms are disabled and the tests verify that they crash with
notsup error as expected.
In FIPS mode RSA and EC algorithms don't work if the key sizes are
below a minimum required value - which happened to be the case with
most keys used in the tests. These tests were changed to use longer
keys (even in non-FIPS mode for simplicity).
Conflicts:
lib/crypto/test/crypto_SUITE.erl
Diffstat (limited to 'lib/crypto/c_src/crypto_callback.h')
0 files changed, 0 insertions, 0 deletions