Re: [Qemu-devel] [PATCH v4 10/26] crypto: refactor code for dealing with AES cipher

2016-03-11 Thread Eric Blake
On 02/29/2016 05:00 AM, Daniel P. Berrange wrote: > The built-in and nettle cipher backends for AES maintain > two separate AES contexts, one for encryption and one for > decryption. This is going to be inconvenient for the future > code dealing with XTS, so wrap them up in a single struct > so the

[Qemu-devel] [PATCH v4 10/26] crypto: refactor code for dealing with AES cipher

2016-02-29 Thread Daniel P. Berrange
The built-in and nettle cipher backends for AES maintain two separate AES contexts, one for encryption and one for decryption. This is going to be inconvenient for the future code dealing with XTS, so wrap them up in a single struct so there is just one pointer to pass around for both encryptin and