From e68b05ab04747f62858549b7d16c1316316090c0 Mon Sep 17 00:00:00 2001
From: Vitezslav Cizek <vcizek@suse.com>
Date: Fri, 30 Oct 2015 15:38:13 +0100
Subject: [PATCH 07/11] Fixes for RSA testsuite in FIPS mode
- tests/basic.c (get_keys_new): Generate 2048 bit key.
- tests/benchmark.c (rsa_bench): Skip keys of lengths different
than 2048 and 3072 in FIPS mode.
- tests/keygen.c (check_rsa_keys): Failure if short keys can be
generated in FIPS mode.
(check_dsa_keys): Ditto for DSA keys.
- tests/pubkey.c (check_x931_derived_key): Skip keys < 2048 in FIPS. --
Thanks to Ludwig Nussel.
Signed-off-by: Vitezslav Cizek <vcizek@suse.com>
Signed-off-by: Vitezslav Cizek <vcizek@suse.com>
tests/basic.c | 2 +-
tests/benchmark.c | 21 ++++++++++++-------
tests/keygen.c | 62 ++++++++++++++++++++++++++++++++++++++++++-------------
tests/pubkey.c | 49 ++++++++++++++++++++++++++++++++++++++++---
4 files changed, 109 insertions(+), 25 deletions(-)
2.6.2