709_0001-DSA-adjustments-to-conform-with-FIPS-186-4.patch
AbandonedPublic

Authored by civ on Nov 5 2015, 2:18 PM.

Details

Reviewers
None
Summary

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

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped