[Qemu-devel] [PATCH v2 00/13] RFC crypto/luks: preparation for encryption key managment

Maxim Levitsky posted 13 patches 6 years, 2 months ago
Test docker-clang@ubuntu passed
Test FreeBSD passed
Test checkpatch passed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190826135103.22410-1-mlevitsk@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>
block/crypto.c      |   12 +-
crypto/block-luks.c | 1046 +++++++++++++++++++++++++------------------
include/autowipe.h  |   52 +++
3 files changed, 666 insertions(+), 444 deletions(-)
create mode 100644 include/autowipe.h
[Qemu-devel] [PATCH v2 00/13] RFC crypto/luks: preparation for encryption key managment
Posted by Maxim Levitsky 6 years, 2 months ago
Hi!

This patch series is the refactoring/preparation part of the
former patch series I had sent which adds support for luks
key management.

I tried my best to address all the comments that were given
during the review, and I would like to use that opportunity
to thanks again for the review I was given.

Best regards,
	Maxim Levitsky

Maxim Levitsky (13):
  introduce g_autowipe
  block-crypto: misc refactoring
  qcrypto-luks: rename some fields in QCryptoBlockLUKSHeader
  qcrypto-luks: don't overwrite cipher_mode in header
  qcrypto-luks: simplify masterkey and masterkey length
  qcrypto-block: pass keyslot index rather that pointer to the keyslot
  qcrypto-luks: use the parsed encryption settings in QCryptoBlockLUKS
  qcrypto-luks: extract store and load header
  qcrypto-block: extract check and parse header
  qcrypto-luks: refactoring: extract store key function
  qcrypto-luks: refactoring: simplify the math used for keyslot
    locations
  qcrypto-luks: use g_autowipe
  qcrypto-luks: implement more rigorous header checking

 block/crypto.c      |   12 +-
 crypto/block-luks.c | 1046 +++++++++++++++++++++++++------------------
 include/autowipe.h  |   52 +++
 3 files changed, 666 insertions(+), 444 deletions(-)
 create mode 100644 include/autowipe.h

-- 
2.17.2