1 /* 2 This file is adapted from ref10/fe.h: 3 All the redundant functions are removed. 4 */ 5 6 #ifndef fe_H 7 #define fe_H 8 9 #include <stdint.h> 10 #include <stdlib.h> 11 12 typedef uint64_t fe[10]; 13 14 /* 15 fe means field element. 16 Here the field is \Z/(2^255-19). 17 An element t, entries t[0]...t[9], represents the integer 18 t[0]+2^26 t[1]+2^51 t[2]+2^77 t[3]+2^102 t[4]+...+2^230 t[9]. 19 Bounds on each t[i] vary depending on context. 20 */ 21 22 #define fe_frombytes crypto_scalarmult_curve25519_sandy2x_fe_frombytes 23 24 extern void fe_frombytes(fe, const unsigned char *); 25 26 #endif 27