Handle provable prime parameters for canonical g generation which are
sometimes erroneously included.
This commit is contained in:
parent
4ec93a10bd
commit
bac3db9cc1
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue