Merge branch '2.5.x'
[catacomb] / math / f25519.h
index fc75546..4a2a219 100644 (file)
@@ -55,6 +55,13 @@ typedef union {
 #  define F25519_IMPL 10
 #endif
 
+#if F25519_IMPL == 26
+  typedef int32 f25519_piece;
+#endif
+#if F25519_IMPL == 10
+  typedef int16 f25519_piece;
+#endif
+
 /*----- Functions provided ------------------------------------------------*/
 
 /* --- @f25519_set@ --- *