| 1 |
// linker define sc25519_from64bytes |
| 2 |
// linker use sc25519_barrett |
| 3 |
|
| 4 |
#include "sc25519.h" |
| 5 |
|
| 6 |
void sc25519_from64bytes(sc25519 *r, const unsigned char x[64]) |
| 7 |
{ |
| 8 |
/* assuming little-endian representation of unsigned long long */ |
| 9 |
sc25519_barrett(r, (unsigned long long *)x); |
| 10 |
} |