~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
key/key-io.c: Add low-level `key_mergeline' and `key_extractline' functions.
[catacomb]
/
math
/
f25519.h
diff --git
a/math/f25519.h
b/math/f25519.h
index
fc75546
..
4a2a219
100644
(file)
--- a/
math/f25519.h
+++ b/
math/f25519.h
@@
-55,6
+55,13
@@
typedef union {
# define F25519_IMPL 10
#endif
# 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@ --- *
/*----- Functions provided ------------------------------------------------*/
/* --- @f25519_set@ --- *