Debian Codegraph @

ref10/crypto_sign/ge.h

raw symbols SCIP
1 #cxx . . $ `<file>/ref10/crypto_sign/ge.h`/include <cross_platform.h>cxx . . $ `<file>/ref10/include/cross_platform.h`/
2
3 #ifndef GE_H
4 #define GE_Hcxx . . $ `ref10/crypto_sign/ge.h:4:9`!
5
6 /*
7 ge means group element.
8
9 Here the group is the set of pairs (x,y) of field elements (see fe.h)
10 satisfying -x^2 + y^2 = 1 + d x^2y^2
11 where d = -121665/121666.
12
13 Representations:
14 ge_p2 (projective): (X:Y:Z) satisfying x=X/Z, y=Y/Z
15 ge_p3 (extended): (X:Y:Z:T) satisfying x=X/Z, y=Y/Z, XY=ZT
16 ge_p1p1 (completed): ((X:Z),(Y:T)) satisfying x=X/Z, y=Y/T
17 ge_precomp (Duif): (y+x,y-x,2dxy)
18 */
19
20 #include <fe.h>cxx . . $ `<file>/ref10/crypto_sign/fe.h`/
21
22 typedef structcxx . . $ $anonymous_type_e34c44a02fdbb0a4_0# {
23 fecxx . . $ fe# Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_0#X.;
24 fecxx . . $ fe# Ycxx . . $ $anonymous_type_e34c44a02fdbb0a4_0#Y.;
25 fecxx . . $ fe# Zcxx . . $ $anonymous_type_e34c44a02fdbb0a4_0#Z.;
26 } ge_p2cxx . . $ ge_p2#;
27
28 typedef structcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1# {
29 fecxx . . $ fe# Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.;
30 fecxx . . $ fe# Ycxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#Y.;
31 fecxx . . $ fe# Zcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#Z.;
32 fecxx . . $ fe# Tcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#T.;
33 } ge_p3cxx . . $ ge_p3#;
34
35 typedef structcxx . . $ $anonymous_type_e34c44a02fdbb0a4_2# {
36 fecxx . . $ fe# Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_2#X.;
37 fecxx . . $ fe# Ycxx . . $ $anonymous_type_e34c44a02fdbb0a4_2#Y.;
38 fecxx . . $ fe# Zcxx . . $ $anonymous_type_e34c44a02fdbb0a4_2#Z.;
39 fecxx . . $ fe# Tcxx . . $ $anonymous_type_e34c44a02fdbb0a4_2#T.;
40 } ge_p1p1cxx . . $ ge_p1p1#;
41
42 typedef structcxx . . $ $anonymous_type_e34c44a02fdbb0a4_3# {
43 fecxx . . $ fe# yplusxcxx . . $ $anonymous_type_e34c44a02fdbb0a4_3#yplusx.;
44 fecxx . . $ fe# yminusxcxx . . $ $anonymous_type_e34c44a02fdbb0a4_3#yminusx.;
45 fecxx . . $ fe# xy2dcxx . . $ $anonymous_type_e34c44a02fdbb0a4_3#xy2d.;
46 } ge_precompcxx . . $ ge_precomp#;
47
48 typedef structcxx . . $ $anonymous_type_e34c44a02fdbb0a4_4# {
49 fecxx . . $ fe# YplusXcxx . . $ $anonymous_type_e34c44a02fdbb0a4_4#YplusX.;
50 fecxx . . $ fe# YminusXcxx . . $ $anonymous_type_e34c44a02fdbb0a4_4#YminusX.;
51 fecxx . . $ fe# Zcxx . . $ $anonymous_type_e34c44a02fdbb0a4_4#Z.;
52 fecxx . . $ fe# T2dcxx . . $ $anonymous_type_e34c44a02fdbb0a4_4#T2d.;
53 } ge_cachedcxx . . $ ge_cached#;
54
55 #define ge_frombytes_negate_vartimecxx . . $ `ref10/crypto_sign/ge.h:55:9`! crypto_sign_ed25519_ref10_ge_frombytes_negate_vartime
56 #define ge_tobytescxx . . $ `ref10/crypto_sign/ge.h:56:9`! crypto_sign_ed25519_ref10_ge_tobytes
57 #define ge_p3_tobytescxx . . $ `ref10/crypto_sign/ge.h:57:9`! crypto_sign_ed25519_ref10_ge_p3_tobytes
58
59 #define ge_p2_0cxx . . $ `ref10/crypto_sign/ge.h:59:9`! crypto_sign_ed25519_ref10_ge_p2_0
60 #define ge_p3_0cxx . . $ `ref10/crypto_sign/ge.h:60:9`! crypto_sign_ed25519_ref10_ge_p3_0
61 #define ge_precomp_0cxx . . $ `ref10/crypto_sign/ge.h:61:9`! crypto_sign_ed25519_ref10_ge_precomp_0
62 #define ge_p3_to_p2cxx . . $ `ref10/crypto_sign/ge.h:62:9`! crypto_sign_ed25519_ref10_ge_p3_to_p2
63 #define ge_p3_to_cachedcxx . . $ `ref10/crypto_sign/ge.h:63:9`! crypto_sign_ed25519_ref10_ge_p3_to_cached
64 #define ge_p1p1_to_p2cxx . . $ `ref10/crypto_sign/ge.h:64:9`! crypto_sign_ed25519_ref10_ge_p1p1_to_p2
65 #define ge_p1p1_to_p3cxx . . $ `ref10/crypto_sign/ge.h:65:9`! crypto_sign_ed25519_ref10_ge_p1p1_to_p3
66 #define ge_p2_dblcxx . . $ `ref10/crypto_sign/ge.h:66:9`! crypto_sign_ed25519_ref10_ge_p2_dbl
67 #define ge_p3_dblcxx . . $ `ref10/crypto_sign/ge.h:67:9`! crypto_sign_ed25519_ref10_ge_p3_dbl
68
69 #define ge_maddcxx . . $ `ref10/crypto_sign/ge.h:69:9`! crypto_sign_ed25519_ref10_ge_madd
70 #define ge_msubcxx . . $ `ref10/crypto_sign/ge.h:70:9`! crypto_sign_ed25519_ref10_ge_msub
71 #define ge_addcxx . . $ `ref10/crypto_sign/ge.h:71:9`! crypto_sign_ed25519_ref10_ge_add
72 #define ge_subcxx . . $ `ref10/crypto_sign/ge.h:72:9`! crypto_sign_ed25519_ref10_ge_sub
73 #define ge_scalarmult_basecxx . . $ `ref10/crypto_sign/ge.h:73:9`! crypto_sign_ed25519_ref10_ge_scalarmult_base
74 #define ge_double_scalarmult_vartimecxx . . $ `ref10/crypto_sign/ge.h:74:9`! crypto_sign_ed25519_ref10_ge_double_scalarmult_vartime
75
76 #ifdef __cplusplus
77 extern "C" {
78 #endif
79 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_tobytescxx . . $ `ref10/crypto_sign/ge.h:56:9`!(unsigned char *,const ge_p2cxx . . $ ge_p2# *);
80 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_p3_tobytescxx . . $ `ref10/crypto_sign/ge.h:57:9`!(unsigned char *,const ge_p3cxx . . $ ge_p3# *);
81 extern int INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_frombytes_negate_vartimecxx . . $ `ref10/crypto_sign/ge.h:55:9`!(ge_p3cxx . . $ ge_p3# *,const unsigned char *);
82
83 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_p2_0cxx . . $ `ref10/crypto_sign/ge.h:59:9`!(ge_p2cxx . . $ ge_p2# *);
84 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_p3_0cxx . . $ `ref10/crypto_sign/ge.h:60:9`!(ge_p3cxx . . $ ge_p3# *);
85 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_precomp_0cxx . . $ `ref10/crypto_sign/ge.h:61:9`!(ge_precompcxx . . $ ge_precomp# *);
86 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_p3_to_p2cxx . . $ `ref10/crypto_sign/ge.h:62:9`!(ge_p2cxx . . $ ge_p2# *,const ge_p3cxx . . $ ge_p3# *);
87 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_p3_to_cachedcxx . . $ `ref10/crypto_sign/ge.h:63:9`!(ge_cachedcxx . . $ ge_cached# *,const ge_p3cxx . . $ ge_p3# *);
88 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_p1p1_to_p2cxx . . $ `ref10/crypto_sign/ge.h:64:9`!(ge_p2cxx . . $ ge_p2# *,const ge_p1p1cxx . . $ ge_p1p1# *);
89 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_p1p1_to_p3cxx . . $ `ref10/crypto_sign/ge.h:65:9`!(ge_p3cxx . . $ ge_p3# *,const ge_p1p1cxx . . $ ge_p1p1# *);
90 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_p2_dblcxx . . $ `ref10/crypto_sign/ge.h:66:9`!(ge_p1p1cxx . . $ ge_p1p1# *,const ge_p2cxx . . $ ge_p2# *);
91 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_p3_dblcxx . . $ `ref10/crypto_sign/ge.h:67:9`!(ge_p1p1cxx . . $ ge_p1p1# *,const ge_p3cxx . . $ ge_p3# *);
92
93 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_maddcxx . . $ `ref10/crypto_sign/ge.h:69:9`!(ge_p1p1cxx . . $ ge_p1p1# *,const ge_p3cxx . . $ ge_p3# *,const ge_precompcxx . . $ ge_precomp# *);
94 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_msubcxx . . $ `ref10/crypto_sign/ge.h:70:9`!(ge_p1p1cxx . . $ ge_p1p1# *,const ge_p3cxx . . $ ge_p3# *,const ge_precompcxx . . $ ge_precomp# *);
95 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_addcxx . . $ `ref10/crypto_sign/ge.h:71:9`!(ge_p1p1cxx . . $ ge_p1p1# *,const ge_p3cxx . . $ ge_p3# *,const ge_cachedcxx . . $ ge_cached# *);
96 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_subcxx . . $ `ref10/crypto_sign/ge.h:72:9`!(ge_p1p1cxx . . $ ge_p1p1# *,const ge_p3cxx . . $ ge_p3# *,const ge_cachedcxx . . $ ge_cached# *);
97 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_scalarmult_basecxx . . $ `ref10/crypto_sign/ge.h:73:9`!(ge_p3cxx . . $ ge_p3# *,const unsigned char *);
98 extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! ge_double_scalarmult_vartimecxx . . $ `ref10/crypto_sign/ge.h:74:9`!(ge_p2cxx . . $ ge_p2# *,const unsigned char *,const ge_p3cxx . . $ ge_p3# *,const unsigned char *);
99 #ifdef __cplusplus
100 }
101 #endif
102
103 #endif