]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
removed pbits=1024, qbits=160 from the acceptable bit sizes in FIPS140-2 DSA paramete...
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 2 Jul 2014 13:30:48 +0000 (15:30 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 2 Jul 2014 13:30:48 +0000 (15:30 +0200)
lib/nettle/int/dsa-keygen-fips186.c

index 06338c92edfdbc41af0e9551ed339b37e156ed17..9ab00a9dc77c7a8f8b0e9e2b9f59d443daf46678 100644 (file)
 unsigned _dsa_check_qp_sizes(unsigned q_bits, unsigned p_bits)
 {
        switch (q_bits) {
-       case 160:
-               if (p_bits != 1024)
-                       return 0;
-               break;
        case 224:
                if (p_bits != 2048)
                        return 0;