mirror of
https://github.com/neocturne/libuecc.git
synced 2025-03-04 17:03:31 +01:00
Fix ecc_25519_gf_is_zero
This commit is contained in:
parent
d072ec9de1
commit
c6f33a891f
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ static void select(unsigned char out[32], const unsigned char r[32], const unsig
|
||||||
int ecc_25519_gf_is_zero(const ecc_int_256 *in) {
|
int ecc_25519_gf_is_zero(const ecc_int_256 *in) {
|
||||||
int i;
|
int i;
|
||||||
ecc_int_256 r;
|
ecc_int_256 r;
|
||||||
unsigned int bits;
|
unsigned int bits = 0;
|
||||||
|
|
||||||
ecc_25519_gf_reduce(&r, in);
|
ecc_25519_gf_reduce(&r, in);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue