Re: [PATCH] crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes

2017-01-23 Thread Herbert Xu
On Tue, Jan 17, 2017 at 01:46:29PM +, Ard Biesheuvel wrote: > Update the ARMv8 Crypto Extensions and the plain NEON AES implementations > in CBC and CTR modes to return the next IV back to the skcipher API client. > This is necessary for chaining to work correctly. > > Note that for CTR, this

[PATCH] crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes

2017-01-17 Thread Ard Biesheuvel
Update the ARMv8 Crypto Extensions and the plain NEON AES implementations in CBC and CTR modes to return the next IV back to the skcipher API client. This is necessary for chaining to work correctly. Note that for CTR, this is only done if the request is a round multiple of the block size, since