math/f25519.c: Order 10-bit constants the same as 26-bit constants.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 1 Mar 2019 12:21:38 +0000 (12:21 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 1 Mar 2019 19:14:14 +0000 (19:14 +0000)
math/f25519.c

index d715033..a886465 100644 (file)
@@ -82,10 +82,10 @@ typedef uint16 upiece;  typedef uint32 udblpiece;
     ((i) == 5 || (i) == 10 || (i) == 15 || (i) == 20 || (i) == 25 ? 9 : 10)
 #define NPIECE 26
 
-#define B9 0x200
-#define B8 0x100
 #define M10 0x3ff
 #define M9 0x1ff
+#define B9 0x200
+#define B8 0x100
 
 #endif