Use a fixed number of bits with DSA gen and sign

This commit is contained in:
Sean Parkinson
2019-07-29 09:29:53 +10:00
parent 50fbdb961f
commit d7b893f250
5 changed files with 87 additions and 7 deletions

View File

@@ -927,6 +927,11 @@ int mp_exptmod (mp_int * G, mp_int * X, mp_int * P, mp_int * Y)
#endif
}
int mp_exptmod_ex (mp_int * G, mp_int * X, int digits, mp_int * P, mp_int * Y)
{
(void)digits;
return mp_exptmod(G, X, P, Y);
}
/* b = |a|
*