diff options
author | Eric Biggers <ebiggers@google.com> | 2019-02-14 10:27:48 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-22 12:47:27 +0800 |
commit | 367ecc07314a650084f8a46fe3ce550a9cdabef3 (patch) | |
tree | 805a24bb35f6e5f9c8c78d3017ecb3a9fdb29f21 /crypto/xor.c | |
parent | 511306b2d075e3cb1e5dd805bffcf4041535f2b5 (diff) | |
download | linux-367ecc07314a650084f8a46fe3ce550a9cdabef3.tar.bz2 |
crypto: nhpoly1305 - add a test vector with len % 16 != 0
This is needed to test that the end of the message is zero-padded when
the length is not a multiple of 16 (NH_MESSAGE_UNIT). It's already
tested indirectly by the 31-byte Adiantum test vector, but it should be
tested directly at the nhpoly1305 level too.
As with the other nhpoly1305 test vectors, this was 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>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions