[PATCH] crypto: add support for sm4 without key length suffix

2024-08-11 Thread luzhipeng
qemu add sm4 in release 9, but the name of sm4 doesn't have the key length suffix, So set size to 0, construct cipher name without key length as suffix. Signed-off-by: luzhipeng --- docs/formatstorageencryption.rst | 8 +--- src/qemu/qemu_block.c| 10 +++--- 2 files ch

[PATCH] add support for xml about cipher info

2024-08-11 Thread luzhipeng
The destination disk's xml contains the ciper info and it check fail, when snaphot,blockcopy and blockpull vm's disk. So it removes the check about cipher info. Signed-off-by: luzhipeng --- src/conf/domain_validate.c | 12 1 file changed, 12 deletions(-) diff --git

[PATCH RESEND] crypto: add support for sm4 without key length suffix and remove the restriction about ciper name in xml

2024-07-31 Thread luzhipeng
qemu add sm4 in release 9, but the name of sm4 doesn't have the key length suffix, So set size to 0, construct cipher name without key length as suffix. In order to support the snapshot of encrypted disks, it remove the restrictions about cipher names in XML Signed-off-by: luzhipeng ---

[PATCH] crypto: add support for sm4 without key length suffix and remove the restriction about ciper name in xml

2024-07-30 Thread luzhipeng
qemu add sm4 in release 9, but the name of sm4 doesn't have the key length suffix, So set size to 0, construct cipher name without key length as suffix. In order to support the snapshot of encrypted disks, it remove the restrictions about cipher names in XML Signed-off-by: luzhipeng ---