poly1305: fix.
This commit is contained in:
parent
6893d5aa99
commit
a627f00a3f
@ -109,7 +109,7 @@ Poly1305.prototype.blocks = function blocks(data, bytes, m) {
|
||||
if (j <= i)
|
||||
d[i] += this.r[i - j];
|
||||
else
|
||||
d[i] += 5 * this.r[i + 10 - j]);
|
||||
d[i] += 5 * this.r[i + 10 - j];
|
||||
|
||||
// Sum(h[i] * r[i] * 5) will overflow slightly
|
||||
// above 6 products with an unclamped r, so
|
||||
|
||||
Loading…
Reference in New Issue
Block a user