~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math/f{25519,goldi}.[ch]: Export the piece type.
[catacomb]
/
math
/
fgoldi.h
diff --git
a/math/fgoldi.h
b/math/fgoldi.h
index
b05fd77
..
4f6c043
100644
(file)
--- a/
math/fgoldi.h
+++ b/
math/fgoldi.h
@@
-55,6
+55,13
@@
typedef union {
# define FGOLDI_IMPL 12
#endif
# define FGOLDI_IMPL 12
#endif
+#if FGOLDI_IMPL == 28
+ typedef int32 fgoldi_piece;
+#endif
+#if FGOLDI_IMPL == 12
+ typedef int16 fgoldi_piece;
+#endif
+
/*----- Functions provided ------------------------------------------------*/
/* --- @fgoldi_load@ --- *
/*----- Functions provided ------------------------------------------------*/
/* --- @fgoldi_load@ --- *