crypto/luks: preparation for encryption key managment
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 2 repliesIn review
- v112 patches 5 repliesSuperseded
Changes in v2 from the cover letter
I addressed all the review comments
I also added another minor patch to improve an error messsage when trying to create too large file, for which I have an open bug that waits to be closed.
Its also is form of refactoring, and thus I guess it makes sense to include it here.
Patches in v2 No applies recorded yet
Reviews trailers per patch
12 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Daniel P. Berrangé |
|---|---|
| 1/13 | R-b |
| 2/13 | R-b |
| 3/13 | R-b |
| 4/13 | R-b |
| 5/13 | R-b |
| 6/13 | R-b |
| 7/13 | |
| 8/13 | R-b |
| 9/13 | R-b |
| 10/13 | R-b |
| 11/13 | R-b |
| 12/13 | R-b |
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/13] crypto/luks: preparation for encryption key managment
Hi!
This patch series is the refactoring/preparation part of the former patch series I had sent which adds support for luks key management.
V2:
I addressed all the review comments
I also added another minor patch to improve an error messsage when trying to create too large file, for which I have an open bug that waits to be closed.
Its also is form of refactoring, and thus I guess it makes sense to include it here.
Best regards,
Maxim Levitsky
Maxim Levitsky (13):
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-luks: pass keyslot index rather that pointer to the keyslot
qcrypto-luks: use the parsed encryption settings in QCryptoBlockLUKS
qcrypto-luks: purge unused error codes from open callback
qcrypto-luks: extract store and load header
qcrypto-luks: extract check and parse header
qcrypto-luks: extract store key function
qcrypto-luks: simplify the math used for keyslot locations
qcrypto-luks: more rigorous header checking
LUKS: better error message when creating too large files
block/crypto.c | 33 +- crypto/block-luks.c | 1025 +++++++++++++++++++++++++------------------ 2 files changed, 617 insertions(+), 441 deletions(-)
Signature · 1 line
2.17.2