X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/ef7cf21d686245593220769a5f80a9bb75d62769..6fb4ecfbce59647143cb63115cdef28980f2fcb3:/symm/poly1305.c diff --git a/symm/poly1305.c b/symm/poly1305.c index 9cc97eab..9153149f 100644 --- a/symm/poly1305.c +++ b/symm/poly1305.c @@ -64,7 +64,7 @@ typedef uint32 felt[5]; #define P26W1(x) ((((x##1)&0x000fffff) << 6) | (((x##0) >> 26)&0x0000003f)) #define P26W2(x) ((((x##2)&0x00003fff) << 12) | (((x##1) >> 20)&0x00000fff)) #define P26W3(x) ((((x##3)&0x000000ff) << 18) | (((x##2) >> 14)&0x0003ffff)) -#define P26W4(x) (((x##3) >> 8)&0x00ffffff) +#define P26W4(x) (((x##3) >> 8)&0x00ffffff) /* Propagate carries in parallel. If 0 <= u_i < 2^26 c_i, then we shall have * 0 <= v_0 < 2^26 + 5 c_4, and 0 <= v_i < 2^26 + c_{i-1} for 1 <= i < 5.