some tweaks
[mkp224o.git] / ed25519 / amd64-51-30k / sc25519_to32bytes.c
blobeddb235d3e68ff8c3c9b0ed01b06b6865e51a792
1 #include "sc25519.h"
3 void sc25519_to32bytes(unsigned char r[32], const sc25519 *x)
5 /* assuming little-endian */
6 int i;
7 for(i=0;i<32;i++) r[i] = i[(unsigned char *)x->v];