Stefan Hajnoczi
6d49d3a859
luks: extract qcrypto_block_calculate_payload_offset()
...
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
.bdrv_measure(), so extract the qcrypto_block_calculate_payload_offset()
function now.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200221112522.1497712-2-stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
2020-03-11 12:42:29 +01:00
..
2019-06-12 13:20:20 +02:00
2017-07-19 10:11:05 +01:00
2017-07-19 10:11:05 +01:00
2019-08-22 10:56:57 +01:00
2019-09-26 16:34:02 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2020-03-11 12:42:29 +01:00
2019-07-19 14:21:25 +01:00
2017-09-04 13:09:13 +02:00
2019-07-19 14:21:25 +01:00
2019-10-28 16:20:28 +01:00
2019-10-28 16:45:07 +01:00
2019-07-19 14:21:25 +01:00
2018-03-02 13:45:50 -06:00
2019-02-05 16:50:18 +01:00
2017-07-19 10:11:05 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2017-07-19 10:11:05 +01:00
2017-09-04 13:09:13 +02:00
2019-08-22 10:46:34 +01:00
2019-07-19 12:48:22 +01:00
2018-02-09 13:50:17 +01:00
2017-07-19 10:11:05 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-12-17 19:32:48 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-08-22 10:56:57 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-07-19 14:21:25 +01:00
2019-08-22 10:56:57 +01:00
2019-07-19 14:21:25 +01:00
2019-08-22 10:56:57 +01:00
2019-07-19 14:21:25 +01:00
2019-08-22 10:56:57 +01:00
2019-12-18 08:36:15 +01:00
2019-07-19 14:21:25 +01:00
2019-03-22 16:18:07 +00:00
2019-07-19 14:21:25 +01:00