OSDN Git Service

crypto: Fix defaults in QCryptoBlockCreateOptionsLUKS
authorAlberto Garcia <berto@igalia.com>
Fri, 5 Oct 2018 14:52:02 +0000 (16:52 +0200)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 12 Dec 2018 11:16:49 +0000 (11:16 +0000)
The values specified in the documentation don't match the actual
defaults set in qcrypto_block_luks_create().

Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
qapi/crypto.json

index a51b434..b2a4cff 100644 (file)
 # The options that apply to LUKS encryption format initialization
 #
 # @cipher-alg: the cipher algorithm for data encryption
-#              Currently defaults to 'aes'.
+#              Currently defaults to 'aes-256'.
 # @cipher-mode: the cipher mode for data encryption
-#               Currently defaults to 'cbc'
+#               Currently defaults to 'xts'
 # @ivgen-alg: the initialization vector generator
-#             Currently defaults to 'essiv'
+#             Currently defaults to 'plain64'
 # @ivgen-hash-alg: the initialization vector generator hash
 #                  Currently defaults to 'sha256'
 # @hash-alg: the master key hash algorithm