diff mbox series

[RFC,6/8] crypto: Provide the Luks crypto driver to Gluks

Message ID 4ff114944abe5e1d90933e715ee245cea5d619fd.1701705003.git.yong.huang@smartx.com
State New
Headers show
Series Support generic Luks encryption | expand

Commit Message

Yong Huang Dec. 4, 2023, 4:06 p.m. UTC
Hooks up the Luks crypto driver for Gluks.

Signed-off-by: Hyman Huang <yong.huang@smartx.com>
---
 crypto/block.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/crypto/block.c b/crypto/block.c
index 3dcf22a69f..7e695c0a04 100644
--- a/crypto/block.c
+++ b/crypto/block.c
@@ -27,6 +27,7 @@ 
 static const QCryptoBlockDriver *qcrypto_block_drivers[] = {
     [Q_CRYPTO_BLOCK_FORMAT_QCOW] = &qcrypto_block_driver_qcow,
     [Q_CRYPTO_BLOCK_FORMAT_LUKS] = &qcrypto_block_driver_luks,
+    [Q_CRYPTO_BLOCK_FORMAT_GLUKS] = &qcrypto_block_driver_luks,
 };