mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-25 15:41:05 +00:00
9 lines
182 B
C
9 lines
182 B
C
|
#include "sc25519.h"
|
||
|
|
||
|
void sc25519_to32bytes(unsigned char r[32], const sc25519 *x)
|
||
|
{
|
||
|
/* assuming little-endian */
|
||
|
int i;
|
||
|
for(i=0;i<32;i++) r[i] = i[(unsigned char *)x->v];
|
||
|
}
|