- We tested with no key, and an empty message.
- We tested with no key, and a non-empty message.
- We tested with a key, and a non-empty message.
- We did *not* test with a key and an empty message.
Well, now we do. Libsodium seems to agree with us. Phew.
{
SODIUM_INIT;
FOR(size , 0, 256) { test(size, 0 , 64 ); }
+ FOR(key_size , 0, 64) { test( 0 , key_size, 64 ); }
FOR(key_size , 0, 64) { test(128 , key_size, 64 ); }
FOR(hash_size, 1, 64) { test(128 , 0 , hash_size); }
return 0;