summaryrefslogtreecommitdiffstats
path: root/crypto/poly1305_generic.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
commit3590ebf2b4c40aa4b663c4f2b9dfeb0a1e0b8f32 (patch)
tree8a15272cb024651d24779bef34c43774ca619bfe /crypto/poly1305_generic.c
parentc08d0e647305c3f8f640010a56c9e4bafb9488d3 (diff)
downloadlinux-3590ebf2b4c40aa4b663c4f2b9dfeb0a1e0b8f32.tar.gz
linux-3590ebf2b4c40aa4b663c4f2b9dfeb0a1e0b8f32.tar.bz2
linux-3590ebf2b4c40aa4b663c4f2b9dfeb0a1e0b8f32.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/poly1305_generic.c')
0 files changed, 0 insertions, 0 deletions