Re: [PATCH v3 1/4] luks: extract qcrypto_block_calculate_payload_offset()

2020-02-21 Thread Stefan Hajnoczi
On Wed, Feb 19, 2020 at 02:03:50PM +0100, Max Reitz wrote: > On 11.02.20 17:03, Stefan Hajnoczi wrote: > > The qcow2 .bdrv_measure() code calculates the crypto payload offset. > > This logic really belongs in crypto/block.c where it can be reused by > > other image formats. > > > > The "luks"

Re: [PATCH v3 1/4] luks: extract qcrypto_block_calculate_payload_offset()

2020-02-19 Thread Max Reitz
On 11.02.20 17:03, Stefan Hajnoczi wrote: > The qcow2 .bdrv_measure() code calculates the crypto payload offset. > This logic really belongs in crypto/block.c where it can be reused by > other image formats. > > The "luks" block driver will need this same logic in order to implement >