Browse Source

crypto: Fix defaults in QCryptoBlockCreateOptionsLUKS

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>
Alberto Garcia 6 years ago
parent
commit
a8b826d47a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      qapi/crypto.json

+ 3 - 3
qapi/crypto.json

@@ -181,11 +181,11 @@
 # The options that apply to LUKS encryption format initialization
 # The options that apply to LUKS encryption format initialization
 #
 #
 # @cipher-alg: the cipher algorithm for data encryption
 # @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
 # @cipher-mode: the cipher mode for data encryption
-#               Currently defaults to 'cbc'
+#               Currently defaults to 'xts'
 # @ivgen-alg: the initialization vector generator
 # @ivgen-alg: the initialization vector generator
-#             Currently defaults to 'essiv'
+#             Currently defaults to 'plain64'
 # @ivgen-hash-alg: the initialization vector generator hash
 # @ivgen-hash-alg: the initialization vector generator hash
 #                  Currently defaults to 'sha256'
 #                  Currently defaults to 'sha256'
 # @hash-alg: the master key hash algorithm
 # @hash-alg: the master key hash algorithm