commit | 3590ebf2b4c40aa4b663c4f2b9dfeb0a1e0b8f32 | [log] [tgz] |
---|---|---|
author | Martin Willi <martin@strongswan.org> | Mon Jun 01 13:43:57 2015 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 04 15:04:50 2015 +0800 |
tree | 8a15272cb024651d24779bef34c43774ca619bfe | |
parent | c08d0e647305c3f8f640010a56c9e4bafb9488d3 [diff] |
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>