diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-09-25 22:04:43 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-09-25 22:04:43 +0000 |
commit | bac3db9cc1f48307482c42ac69ae68da7ac06c80 (patch) | |
tree | 85c40ab84c769cd35b6556f766fce92a60acdcc9 /fips/dsa | |
parent | 4ec93a10bdbed94268fbd019b0944604ee894b83 (diff) |
Handle provable prime parameters for canonical g generation which are
sometimes erroneously included.
Diffstat (limited to 'fips/dsa')
-rw-r--r-- | fips/dsa/fips_dssvs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fips/dsa/fips_dssvs.c b/fips/dsa/fips_dssvs.c index d355fcb6ff..3362a33e6c 100644 --- a/fips/dsa/fips_dssvs.c +++ b/fips/dsa/fips_dssvs.c @@ -202,6 +202,12 @@ static void pqg(FILE *in, FILE *out) q=hex2bn(value); else if(!strcmp(keyword,"domain_parameter_seed")) seedlen = hex2bin(value, seed); + else if(!strcmp(keyword,"firstseed")) + seedlen = hex2bin(value, seed); + else if(!strcmp(keyword,"pseed")) + seedlen += hex2bin(value, seed + seedlen); + else if(!strcmp(keyword,"qseed")) + seedlen += hex2bin(value, seed + seedlen); else if(!strcmp(keyword,"index")) { idxlen = hex2bin(value, idtmp); |