diff options
| author | Martin Willi <martin@strongswan.org> | 2015-06-01 13:43:57 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-14 15:00:51 +0100 |
| commit | 702c5e645b172dd7f2f318f23fe6f0006e60f77d (patch) | |
| tree | 45e718ff6d4850d9b38fe77e1bffa535cbb7bda6 /security | |
| parent | 18f64e3e23e184f5b859d3878243ccd44711e5b6 (diff) | |
UPSTREAM: crypto: testmgr - Add ChaCha20 test vectors from RFC7539
We explicitly set the Initial block Counter by prepending it to the nonce in
Little Endian. The same test vector is used for both encryption and decryption,
ChaCha20 is a cipher XORing a keystream.
Signed-off-by: Martin Willi <martin@strongswan.org>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 3590ebf2b4c40aa4b663c4f2b9dfeb0a1e0b8f32)
Change-Id: I42d7cf3d01c3fdf94e40132ebbfc2579a547df9c
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
