]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: adiantum - add 1536 and 4096-byte test vectors
authorEric Biggers <ebiggers@google.com>
Thu, 14 Feb 2019 18:29:39 +0000 (10:29 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Feb 2019 04:47:27 +0000 (12:47 +0800)
commitd2ba638d11f7eec98de6390df58510b2dd0247c1
tree9392c82dd5680f412121648a222e49f8ac810706
parent7af1edd565417a62e8dea286c9cd9a7013aae8f6
crypto: adiantum - add 1536 and 4096-byte test vectors

Add 1536 and 4096-byte Adiantum test vectors so that the case where
there are multiple NH hashes is tested.  This is already tested by the
nhpoly1305 test vectors, but it should be tested at the Adiantum level
too.  Moreover the 4096-byte case is especially important.

As with the other Adiantum test vectors, these were generated by the
reference Python implementation at https://github.com/google/adiantum
and then automatically formatted for testmgr by a script.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.h