Re: [PATCH 1/2] crypto/chacha20: fix handling of chunked input

2017-08-22 Thread Herbert Xu
On Mon, Aug 14, 2017 at 02:28:14PM +0100, Ard Biesheuvel wrote: > Commit 9ae433bc79f9 ("crypto: chacha20 - convert generic and x86 versions > to skcipher") ported the existing chacha20 code to use the new skcipher > API, and introduced a bug along the way. Unfortunately, the tcrypt tests > did not

[PATCH 1/2] crypto/chacha20: fix handling of chunked input

2017-08-14 Thread Ard Biesheuvel
Commit 9ae433bc79f9 ("crypto: chacha20 - convert generic and x86 versions to skcipher") ported the existing chacha20 code to use the new skcipher API, and introduced a bug along the way. Unfortunately, the tcrypt tests did not catch the error, and it was only found recently by Tobias. Stefan