]> Git Repo - linux.git/commit
crypto: xchacha - add test vector from XChaCha20 draft RFC
authorEric Biggers <[email protected]>
Thu, 6 Dec 2018 20:31:54 +0000 (12:31 -0800)
committerHerbert Xu <[email protected]>
Thu, 13 Dec 2018 10:24:58 +0000 (18:24 +0800)
commit5569e8c07447344cdc3771378ba4e0da0b94c2a4
treee7aad4184e7727396465e8839c9e858212bc01b0
parenta033aed5a84eb93a32929b6862602cb283d39e82
crypto: xchacha - add test vector from XChaCha20 draft RFC

There is a draft specification for XChaCha20 being worked on.  Add the
XChaCha20 test vector from the appendix so that we can be extra sure the
kernel's implementation is compatible.

I also recomputed the ciphertext with XChaCha12 and added it there too,
to keep the tests for XChaCha20 and XChaCha12 in sync.

Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
crypto/testmgr.h
This page took 0.053008 seconds and 4 git commands to generate.