mirror of
https://github.com/qemu/qemu.git
synced 2024-12-18 17:53:40 +08:00
6d49d3a859
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> |
||
---|---|---|
.. | ||
aes.h | ||
afsplit.h | ||
block.h | ||
cipher.h | ||
desrfb.h | ||
hash.h | ||
hmac.h | ||
init.h | ||
ivgen.h | ||
pbkdf.h | ||
random.h | ||
secret.h | ||
tlscreds.h | ||
tlscredsanon.h | ||
tlscredspsk.h | ||
tlscredsx509.h | ||
tlssession.h | ||
xts.h |