Re: [Qemu-block] [PATCH v2 05/13] qcrypto-luks: simplify masterkey and masterkey length

2019-09-06 Thread Daniel P . Berrangé
On Mon, Aug 26, 2019 at 04:50:55PM +0300, Maxim Levitsky wrote: > Let the caller allocate masterkey > Always use master key len from the header > > Signed-off-by: Maxim Levitsky > --- > crypto/block-luks.c | 44 +--- > 1 file changed, 21 insertions(+), 23

[Qemu-block] [PATCH v2 05/13] qcrypto-luks: simplify masterkey and masterkey length

2019-08-26 Thread Maxim Levitsky
Let the caller allocate masterkey Always use master key len from the header Signed-off-by: Maxim Levitsky --- crypto/block-luks.c | 44 +--- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/crypto/block-luks.c b/crypto/block-luks.c index