summaryrefslogtreecommitdiff
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2015-06-01 13:43:57 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-04 15:04:50 +0800
commit8ba0c1e9a76dab22131a82c18afb5a960401b22b (patch)
treebb9689f48f96156963a790f18ae5fc977f2322ba /crypto/xor.c
parente4a6db70d12f8a57c8d0cbf99894463458882f9e (diff)
downloadlinux-crypto-8ba0c1e9a76dab22131a82c18afb5a960401b22b.tar.gz
linux-crypto-8ba0c1e9a76dab22131a82c18afb5a960401b22b.zip
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>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions