1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00
This commit is contained in:
Frank Denis 2020-08-21 07:07:17 +02:00
parent ae330742cb
commit 3d27ee0898
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;