diff options
author | Werner Koch <wk@gnupg.org> | 2016-03-22 17:49:50 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-03-22 17:49:50 +0100 |
commit | d328095dd4de83b839d9d8c4bdbeec0956971016 (patch) | |
tree | e28d6423f52bc5aac505d9f7d9291f7beda577b0 /compat/Makefile.am | |
parent | 5f9b3c2e220ca6d0eaff32324a973ef67933a844 (diff) | |
download | libgcrypt-d328095dd4de83b839d9d8c4bdbeec0956971016.tar.gz |
tests: Add options --fips to keygen for manual tests.
(main): Add option --fips.
* tests/keygen.c (check_rsa_keys): Create an 2048 bit key with e=65539
because that is valid in FIPS mode. Check that key generation fails
for too short keys in FIPS mode.
(check_ecc_keys): Check that key generation fails for Ed25519 keys in
FIPS mode.
--
This option allows to test the FIPS mode manually for key generation.
We should eventually expand all tests to allow testing in FIPS mode in
non FIPS enabled boxes.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'compat/Makefile.am')
0 files changed, 0 insertions, 0 deletions