| 1 | #cxx . . $ `<file>/ref10/crypto_scalarmult/fe.h`/include <cross_platform.h>cxx . . $ `<file>/ref10/include/cross_platform.h`/ |
| 2 | |
| 3 | #ifndef FE_H |
| 4 | #define FE_Hcxx . . $ `ref10/crypto_scalarmult/fe.h:4:9`! |
| 5 | |
| 6 | #include <crypto_int32.h>cxx . . $ `<file>/ref10/include/crypto_int32.h`/ |
| 7 | |
| 8 | typedef crypto_int32cxx . . $ crypto_int32# fecxx . . $ fe#[10]; |
| 9 | |
| 10 | /* |
| 11 | fe means field element. |
| 12 | Here the field is \Z/(2^255-19). |
| 13 | An element t, entries t[0]...t[9], represents the integer |
| 14 | t[0]+2^26 t[1]+2^51 t[2]+2^77 t[3]+2^102 t[4]+...+2^230 t[9]. |
| 15 | Bounds on each t[i] vary depending on context. |
| 16 | */ |
| 17 | |
| 18 | #define fe_frombytescxx . . $ `ref10/crypto_scalarmult/fe.h:18:9`! crypto_scalarmult_curve25519_ref10_fe_frombytes |
| 19 | #define fe_tobytescxx . . $ `ref10/crypto_scalarmult/fe.h:19:9`! crypto_scalarmult_curve25519_ref10_fe_tobytes |
| 20 | #define fe_copycxx . . $ `ref10/crypto_scalarmult/fe.h:20:9`! crypto_scalarmult_curve25519_ref10_fe_copy |
| 21 | #define fe_0cxx . . $ `ref10/crypto_scalarmult/fe.h:21:9`! crypto_scalarmult_curve25519_ref10_fe_0 |
| 22 | #define fe_1cxx . . $ `ref10/crypto_scalarmult/fe.h:22:9`! crypto_scalarmult_curve25519_ref10_fe_1 |
| 23 | #define fe_cswapcxx . . $ `ref10/crypto_scalarmult/fe.h:23:9`! crypto_scalarmult_curve25519_ref10_fe_cswap |
| 24 | #define fe_addcxx . . $ `ref10/crypto_scalarmult/fe.h:24:9`! crypto_scalarmult_curve25519_ref10_fe_add |
| 25 | #define fe_subcxx . . $ `ref10/crypto_scalarmult/fe.h:25:9`! crypto_scalarmult_curve25519_ref10_fe_sub |
| 26 | #define fe_mulcxx . . $ `ref10/crypto_scalarmult/fe.h:26:9`! crypto_scalarmult_curve25519_ref10_fe_mul |
| 27 | #define fe_sqcxx . . $ `ref10/crypto_scalarmult/fe.h:27:9`! crypto_scalarmult_curve25519_ref10_fe_sq |
| 28 | #define fe_mul121666cxx . . $ `ref10/crypto_scalarmult/fe.h:28:9`! crypto_scalarmult_curve25519_ref10_fe_mul121666 |
| 29 | #define fe_invertcxx . . $ `ref10/crypto_scalarmult/fe.h:29:9`! crypto_scalarmult_curve25519_ref10_fe_invert |
| 30 | |
| 31 | #ifdef __cplusplus |
| 32 | extern "C" { |
| 33 | #endif |
| 34 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_frombytescxx . . $ `ref10/crypto_scalarmult/fe.h:18:9`!(fecxx . . $ fe#,const unsigned char *); |
| 35 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_tobytescxx . . $ `ref10/crypto_scalarmult/fe.h:19:9`!(unsigned char *,fecxx . . $ fe#); |
| 36 | |
| 37 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_copycxx . . $ `ref10/crypto_scalarmult/fe.h:20:9`!(fecxx . . $ fe#,fecxx . . $ fe#); |
| 38 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_0cxx . . $ `ref10/crypto_scalarmult/fe.h:21:9`!(fecxx . . $ fe#); |
| 39 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_1cxx . . $ `ref10/crypto_scalarmult/fe.h:22:9`!(fecxx . . $ fe#); |
| 40 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_cswapcxx . . $ `ref10/crypto_scalarmult/fe.h:23:9`!(fecxx . . $ fe#,fecxx . . $ fe#,unsigned int); |
| 41 | |
| 42 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_addcxx . . $ `ref10/crypto_scalarmult/fe.h:24:9`!(fecxx . . $ fe#,fecxx . . $ fe#,fecxx . . $ fe#); |
| 43 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_subcxx . . $ `ref10/crypto_scalarmult/fe.h:25:9`!(fecxx . . $ fe#,fecxx . . $ fe#,fecxx . . $ fe#); |
| 44 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_mulcxx . . $ `ref10/crypto_scalarmult/fe.h:26:9`!(fecxx . . $ fe#,fecxx . . $ fe#,fecxx . . $ fe#); |
| 45 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_sqcxx . . $ `ref10/crypto_scalarmult/fe.h:27:9`!(fecxx . . $ fe#,fecxx . . $ fe#); |
| 46 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_mul121666cxx . . $ `ref10/crypto_scalarmult/fe.h:28:9`!(fecxx . . $ fe#,fecxx . . $ fe#); |
| 47 | extern void INTERFACEcxx . . $ `ref10/include/cross_platform.h:17:12`! fe_invertcxx . . $ `ref10/crypto_scalarmult/fe.h:29:9`!(fecxx . . $ fe#,fecxx . . $ fe#); |
| 48 | #ifdef __cplusplus |
| 49 | } |
| 50 | #endif |
| 51 | |
| 52 | #endif |