Searched hist:"6 d49d3a859b0f19226dbb0df5e7f50267b42f45c" (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/include/crypto/ |
H A D | block.h | diff 6d49d3a859b0f19226dbb0df5e7f50267b42f45c Fri Feb 21 05:25:19 CST 2020 Stefan Hajnoczi <stefanha@redhat.com> 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>
|
/openbmc/qemu/crypto/ |
H A D | block.c | diff 6d49d3a859b0f19226dbb0df5e7f50267b42f45c Fri Feb 21 05:25:19 CST 2020 Stefan Hajnoczi <stefanha@redhat.com> 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>
|
/openbmc/qemu/block/ |
H A D | qcow2.c | diff 6d49d3a859b0f19226dbb0df5e7f50267b42f45c Fri Feb 21 05:25:19 CST 2020 Stefan Hajnoczi <stefanha@redhat.com> 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>
|