☰
Debian Codegraph
@
0.18.5.0+~0+20260428-1
/
/
Xsupercop
/
crypto_sign
/
ed25519
/
amd64-64-24k
/
fe25519_pack.c
☽
☼
Xsupercop/crypto_sign/ed25519/amd64-64-24k/fe25519_pack.c
code
plain
raw
symbols
SCIP
BSD-3-clause
2017 Raymond Chen, Microsoft; 2012-2013 The Cryptonote developers; 2014-2026 The Monero Project
debian/copyright
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