qcrypto-luks: simplify the math used for keyslot locations
commitbd56a55a94148423d37aceb057fa46031065b3da
authorMaxim Levitsky <mlevitsk@redhat.com>
Wed, 25 Sep 2019 21:35:25 +0000 (26 00:35 +0300)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 26 Sep 2019 15:34:02 +0000 (26 16:34 +0100)
treeb5d52e064404c7bbc01e943616d00eff4056de58
parent3994a7c909a4579bd0a4f2867a47ac4c1ab35a36
qcrypto-luks: simplify the math used for keyslot locations

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