From: Martin Willi Date: Mon, 1 Jun 2015 11:43:57 +0000 (+0200) Subject: crypto: testmgr - Add ChaCha20 test vectors from RFC7539 X-Git-Tag: omap-for-v4.2/fixes-rc1^2~164^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3590ebf2b4c40aa4b663c4f2b9dfeb0a1e0b8f32;p=pandora-kernel.git 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 Acked-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed