mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-21 13:57:49 +00:00
9 lines
152 B
C
9 lines
152 B
C
|
#include "fe25519.h"
|
||
|
|
||
|
unsigned char fe25519_getparity(const fe25519 *x)
|
||
|
{
|
||
|
fe25519 t = *x;
|
||
|
fe25519_freeze(&t);
|
||
|
return (unsigned char)t.v[0] & 1;
|
||
|
}
|