You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "fe25519.h" |
|
|
|
int fe25519_iszero_vartime(const fe25519 *x) |
|
{ |
|
fe25519 t = *x; |
|
fe25519_freeze(&t); |
|
if (t.v[0]) return 0; |
|
if (t.v[1]) return 0; |
|
if (t.v[2]) return 0; |
|
if (t.v[3]) return 0; |
|
return 1; |
|
}
|
|
|