qemu-e2k/include/crypto
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
..
aes.h
afsplit.h
block.h luks: extract qcrypto_block_calculate_payload_offset() 2020-03-11 12:42:29 +01:00
cipher.h crypto: define cleanup functions for use with g_autoptr 2019-08-22 10:47:12 +01:00
desrfb.h
hash.h
hmac.h crypto: define cleanup functions for use with g_autoptr 2019-08-22 10:47:12 +01:00
init.h
ivgen.h crypto: define cleanup functions for use with g_autoptr 2019-08-22 10:47:12 +01:00
pbkdf.h
random.h
secret.h
tlscreds.h
tlscredsanon.h
tlscredspsk.h
tlscredsx509.h
tlssession.h crypto: Fix typo in QCryptoTLSSession's <example> comment 2019-12-18 08:36:15 +01:00
xts.h