X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/9c1437f372e62f0b3b3a7162aabee73bdc96ce4b..8f2287ef5c05d496fcb9b012629af007fe56f897:/math/f25519.h diff --git a/math/f25519.h b/math/f25519.h index fc755464..4a2a2191 100644 --- a/math/f25519.h +++ b/math/f25519.h @@ -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@ --- *