1
0

sc25519_to32bytes.c 182 B

12345678
  1. #include "sc25519.h"
  2. void sc25519_to32bytes(unsigned char r[32], const sc25519 *x)
  3. {
  4. /* assuming little-endian */
  5. int i;
  6. for(i=0;i<32;i++) r[i] = i[(unsigned char *)x->v];
  7. }