mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
iotests: Use aes-128-cbc
Our gnutls crypto backend (which is the default as of 8bd0931f6
)
supports neither twofish-128 nor the CTR mode. CBC and aes-128 are
supported by all of our backends (as far as I can tell), so use
aes-128-cbc in our iotests.
(We could also use e.g. aes-256-cbc, but the different key sizes would
lead to different key slot offsets and so change the reference output
more, which is why I went with aes-128.)
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20211117151707.52549-2-hreitz@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
22c36b75c8
commit
cb5a24d7f6
4 changed files with 10 additions and 10 deletions
|
@ -83,8 +83,8 @@ with iotests.FilePath('t.luks') as disk_path, \
|
|||
},
|
||||
'size': size,
|
||||
'key-secret': 'keysec0',
|
||||
'cipher-alg': 'twofish-128',
|
||||
'cipher-mode': 'ctr',
|
||||
'cipher-alg': 'aes-128',
|
||||
'cipher-mode': 'cbc',
|
||||
'ivgen-alg': 'plain64',
|
||||
'ivgen-hash-alg': 'md5',
|
||||
'hash-alg': 'sha1',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue