diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2015-10-24 11:44:13 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2016-03-17 14:41:15 +0000 |
commit | 7d9690148ac25bc755a759adab7d63f517d092b1 (patch) | |
tree | 4d0602424dc0864328c4c6617f318d646a3a0f51 /qmp-commands.hx | |
parent | eaec903c5b830ed9d9610ba72072b97763c2f996 (diff) |
crypto: add block encryption framework
Add a generic framework for supporting 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/initialize a new
encryption header on a previously unformatted volume.
The initial framework comes with support for the legacy QCow
AES based encryption. This enables code in the QCow driver to
be consolidated later.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
0 files changed, 0 insertions, 0 deletions