L=3072, N=256 provides 128 bits of security not 112.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 16 Oct 2011 12:31:49 +0000 (12:31 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 16 Oct 2011 12:31:49 +0000 (12:31 +0000)
crypto/dsa/dsa_gen.c

index c013a7e..d5f4deb 100644 (file)
@@ -405,7 +405,7 @@ static int dsa2_valid_parameters(size_t L, size_t N)
        if (L == 2048 && N == 256)
                return 112;
        if (L == 3072 && N == 256)
-               return 112;
+               return 128;
        return 0;
        }