From eec7b52285794266af69a9b6b967791a4701be90 Mon Sep 17 00:00:00 2001
From: Vitezslav Cizek <vcizek@suse.com>
Date: Tue, 27 Oct 2015 12:46:30 +0100
Subject: [PATCH 01/11] DSA adjustments to conform with FIPS 186-4.
- cipher/dsa.c (generate_fips186): FIPS 186-4 adjustments.
- cipher/primegen.c (_gcry_generate_fips186_3_prime): Fix incorrect buflen passed to _gcry_mpi_scan. --
Generate the DSA keypair by testing candidates. (FIPS 186-4 B.1.2)
Use 2048 bit key for the selftest.
Allow only 2048 and 3072 as pbits size.
Signed-off-by: Vitezslav Cizek <vcizek@suse.com>
cipher/dsa.c | 140 ++++++++++++++++++++++++++++++++++++++++++------------
cipher/primegen.c | 14 +++---
2 files changed, 116 insertions(+), 38 deletions(-)
2.6.2