Manuel Pégourié-Gonnard
7a2c7f1475
poly1305: add test with multiple small fragments
...
This exercises the code path where data is just appended to the waiting queue
while it isn't empty.
2018-05-10 13:23:02 +02:00
Manuel Pégourié-Gonnard
550c20fcf9
poly1305: add test for parameter validation
...
Also fix two validation bugs found while adding the tests.
Also handle test dependencies the right way while at it.
2018-05-10 13:23:02 +02:00
Manuel Pégourié-Gonnard
e9ea6d6e11
Fix selftest verbosity in test suites
2018-05-10 13:23:02 +02:00
Manuel Pégourié-Gonnard
97e34bf2f2
poly1305: fix bug in starts() and add test for it
2018-05-10 13:23:02 +02:00
Manuel Pégourié-Gonnard
f11d8e5f4d
Reduce size of buffers in test suites
2018-05-10 13:23:02 +02:00
Manuel Pégourié-Gonnard
9b7a93cf1f
poly1305: adjust parameter order
...
This module used (len, pointer) while (pointer, len) is more common in the
rest of the library, in particular it's what's used in the CMAC API that is
very comparable to Poly1305, so switch to (pointer, len) for consistency.
2018-05-10 13:23:02 +02:00
Daniel King
5d77eaa233
Add Poly1305 authenticator algorithm (RFC 7539)
...
Test vectors are included from RFC 7539.
Poly1305 is also added to the benchmark program.
2018-05-10 13:20:52 +02:00