L=3072, N=256 provides 128 bits of security not 112.
This commit is contained in:
parent
8fcdb1e60f
commit
bc1b04d255
@ -405,7 +405,7 @@ static int dsa2_valid_parameters(size_t L, size_t N)
|
|||||||
if (L == 2048 && N == 256)
|
if (L == 2048 && N == 256)
|
||||||
return 112;
|
return 112;
|
||||||
if (L == 3072 && N == 256)
|
if (L == 3072 && N == 256)
|
||||||
return 112;
|
return 128;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user