qcrypto-luks: extract check and parse header
commit9fa9c1c28f349d0a9ffa6727c34e8cc06ad8049e
authorMaxim Levitsky <mlevitsk@redhat.com>
Wed, 25 Sep 2019 21:35:23 +0000 (26 00:35 +0300)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 26 Sep 2019 15:34:02 +0000 (26 16:34 +0100)
tree7443a9bf48d7df33caa99b5064cbf2df3422731f
parentdde2c5afebd383b6a72dc5138a68250a81e3e1ad
qcrypto-luks: extract check and parse header

This is just to make qcrypto_block_luks_open more
reasonable in size.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/block-luks.c