Debian Codegraph @

crypto_mGnP/ed25519/ref10/fe_copy.c

raw
1 // linker define fe_copy
2
3 #include "fe.h"
4
5 /*
6 h = f
7 */
8
9 void fe_copy(fe h,const fe f)
10 {
11 crypto_int32 f0 = f[0];
12 crypto_int32 f1 = f[1];
13 crypto_int32 f2 = f[2];
14 crypto_int32 f3 = f[3];
15 crypto_int32 f4 = f[4];
16 crypto_int32 f5 = f[5];
17 crypto_int32 f6 = f[6];
18 crypto_int32 f7 = f[7];
19 crypto_int32 f8 = f[8];
20 crypto_int32 f9 = f[9];
21 h[0] = f0;
22 h[1] = f1;
23 h[2] = f2;
24 h[3] = f3;
25 h[4] = f4;
26 h[5] = f5;
27 h[6] = f6;
28 h[7] = f7;
29 h[8] = f8;
30 h[9] = f9;
31 }