Debian Codegraph @

crypto_nP/montgomery25519/arm64-neon-uma-9l/fe25519_invert.c

raw symbols SCIP
1 // linker define fe25519_invert
2 // linker use fe25519_pack
3 // linker use fe25519_unpack
4 // linker use fe25519_9l_dense_to_4l
5 // linker use fe25519_4l_to_9l_dense
6
7 #include "crypto_pow_inv25519.h"
8 #include "fe25519.h"
9
10 void fe25519_invert(fe25519_9l_dense *r, const fe25519_9l_dense *x)
11 {
12 unsigned char s[32];
13 fe25519 u;
14
15 fe25519_9l_dense_to_4l(&u,x);
16 fe25519_pack(s,&u);
17 crypto_pow_inv25519(s,s);
18 fe25519_unpack(&u,s);
19 fe25519_4l_to_9l_dense(r,&u);
20 }