Handle provable prime parameters for canonical g generation which are

sometimes erroneously included.
This commit is contained in:
Dr. Stephen Henson 2011-09-25 22:04:43 +00:00
parent 4ec93a10bd
commit bac3db9cc1

View file

@ -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);