This commit is contained in:
Frank Denis 2020-08-21 07:07:17 +02:00
parent 2800307b05
commit 18727ac58f
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m,
h4 = (unsigned long) d4 & 0x3ffffff;
h0 += c * 5;
c = (h0 >> 26);
h0 = h0 & 0x3ffffff;
h0 &= 0x3ffffff;
h1 += c;
m += poly1305_block_size;

View File

@ -120,7 +120,7 @@ poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m,
h2 = LO(d2) & 0x3ffffffffff;
h0 += c * 5;
c = (h0 >> 44);
h0 = h0 & 0xfffffffffff;
h0 &= 0xfffffffffff;
h1 += c;
m += poly1305_block_size;