mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 02:25:14 -07:00
Nits
This commit is contained in:
parent
ae330742cb
commit
3d27ee0898
@ -122,7 +122,7 @@ poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m,
|
|||||||
h4 = (unsigned long) d4 & 0x3ffffff;
|
h4 = (unsigned long) d4 & 0x3ffffff;
|
||||||
h0 += c * 5;
|
h0 += c * 5;
|
||||||
c = (h0 >> 26);
|
c = (h0 >> 26);
|
||||||
h0 = h0 & 0x3ffffff;
|
h0 &= 0x3ffffff;
|
||||||
h1 += c;
|
h1 += c;
|
||||||
|
|
||||||
m += poly1305_block_size;
|
m += poly1305_block_size;
|
||||||
|
@ -120,7 +120,7 @@ poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m,
|
|||||||
h2 = LO(d2) & 0x3ffffffffff;
|
h2 = LO(d2) & 0x3ffffffffff;
|
||||||
h0 += c * 5;
|
h0 += c * 5;
|
||||||
c = (h0 >> 44);
|
c = (h0 >> 44);
|
||||||
h0 = h0 & 0xfffffffffff;
|
h0 &= 0xfffffffffff;
|
||||||
h1 += c;
|
h1 += c;
|
||||||
|
|
||||||
m += poly1305_block_size;
|
m += poly1305_block_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user