From 2651d8e09509a7614a66a25e6489d943fd93376b Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Thu, 18 Oct 2018 16:37:09 +0200 Subject: mkfs.ubifs: Enable Cipher selection No longer hard code AES-128-CBC, we support AES-256-XTS too. Signed-off-by: Richard Weinberger Signed-off-by: David Oberhollenzer --- ubifs-utils/mkfs.ubifs/crypto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ubifs-utils/mkfs.ubifs/crypto.h') diff --git a/ubifs-utils/mkfs.ubifs/crypto.h b/ubifs-utils/mkfs.ubifs/crypto.h index 7fb2d3b..c2631dd 100644 --- a/ubifs-utils/mkfs.ubifs/crypto.h +++ b/ubifs-utils/mkfs.ubifs/crypto.h @@ -36,6 +36,9 @@ struct cipher { ssize_t (*encrypt_fname)(const void *plaintext, size_t size, const void *key, void *ciphertext); + + unsigned int fscrypt_block_mode; + unsigned int fscrypt_fname_mode; }; -- cgit v1.2.3