Re: [Qemu-devel] [PATCH v2 06/17] crypto: add block encryption framework

2016-02-05 Thread Eric Blake
On 02/05/2016 05:43 AM, Daniel P. Berrange wrote: > On Thu, Feb 04, 2016 at 05:23:32PM -0700, Eric Blake wrote: >> On 01/20/2016 10:38 AM, Daniel P. Berrange wrote: >>> Add a generic framework for support different block encryption >>> formats. Upon instantiating a QCryptoBlock object, it will read

Re: [Qemu-devel] [PATCH v2 06/17] crypto: add block encryption framework

2016-02-05 Thread Daniel P. Berrange
On Thu, Feb 04, 2016 at 05:23:32PM -0700, Eric Blake wrote: > On 01/20/2016 10:38 AM, Daniel P. Berrange wrote: > > Add a generic framework for support different block encryption > > formats. Upon instantiating a QCryptoBlock object, it will read > > the encryption header and extract the encryption

Re: [Qemu-devel] [PATCH v2 06/17] crypto: add block encryption framework

2016-02-04 Thread Eric Blake
On 01/20/2016 10:38 AM, Daniel P. Berrange wrote: > Add a generic framework for support different block encryption > formats. Upon instantiating a QCryptoBlock object, it will read > the encryption header and extract the encryption keys. It is > then possible to call methods to encrypt/decrypt data

[Qemu-devel] [PATCH v2 06/17] crypto: add block encryption framework

2016-01-20 Thread Daniel P. Berrange
Add a generic framework for support different block encryption formats. Upon instantiating a QCryptoBlock object, it will read the encryption header and extract the encryption keys. It is then possible to call methods to encrypt/decrypt data buffers. There is also a mode whereby it will create/ini