qcrypto-luks: use the parsed encryption settings in QCryptoBlockLUKS
commit9d80e59d50c2e17400954447d50a02c2c41aadac
authorMaxim Levitsky <mlevitsk@redhat.com>
Wed, 25 Sep 2019 21:35:20 +0000 (26 00:35 +0300)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 26 Sep 2019 15:34:02 +0000 (26 16:34 +0100)
treed73cdf9ab749d3181477f7331c5c32cab953822d
parent7e60a6f53d8ec403e5493ba5858543a389f58aee
qcrypto-luks: use the parsed encryption settings in QCryptoBlockLUKS

Prior to that patch, the parsed encryption settings
were already stored into the QCryptoBlockLUKS but not
used anywhere but in qcrypto_block_luks_get_info

Using them simplifies the code

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