Debian Codegraph @

monero/external/supercop/crypto_sign/ed25519/amd64-64-24k/fe25519_pack.c

raw symbols SCIP
1 #include "fe25519.h"
2
3 /* Assumes input x being reduced below 2^255 */
4 void fe25519_pack(unsigned char r[32], const fe25519 *x)
5 {
6 int i;
7 fe25519 t;
8 t = *x;
9 fe25519_freeze(&t);
10 /* assuming little-endian */
11 for(i=0;i<32;i++) r[i] = i[(unsigned char *)&t.v];
12 }
13