mirror of
https://github.com/neocturne/libuecc.git
synced 2025-03-04 09:03:31 +01:00
Reduce before reciprocation
This commit is contained in:
parent
80db8a2f72
commit
9aae1f4177
1 changed files with 2 additions and 0 deletions
|
@ -191,6 +191,8 @@ void ecc_25519_gf_recip(ecc_int_256 *out, const ecc_int_256 *in) {
|
|||
A[i] = in->p[i];
|
||||
}
|
||||
|
||||
reduce(A);
|
||||
|
||||
for (i = 0; i < 32; i++) {
|
||||
unsigned char c;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue