Skip to content

Commit

Permalink
Add Poly1305 test which fails in fast version
Browse files Browse the repository at this point in the history
  • Loading branch information
dchest committed Mar 28, 2016
1 parent bf38dbc commit 5c93fa6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/data/onetimeauth.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,10 @@ module.exports = [
m: new Uint8Array(2007),
k: new Uint8Array(32),
out: new Uint8Array(16)
},
{
m: new Uint8Array([255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]),
k: new Uint8Array([2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]),
out: new Uint8Array( [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
}
];

0 comments on commit 5c93fa6

Please sign in to comment.