mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-27 08:22:31 +00:00
8 lines
206 B
C
8 lines
206 B
C
|
#include "sc25519.h"
|
||
|
|
||
|
void sc25519_from64bytes(sc25519 *r, const unsigned char x[64])
|
||
|
{
|
||
|
/* assuming little-endian representation of unsigned long long */
|
||
|
sc25519_barrett(r, (unsigned long long *)x);
|
||
|
}
|