summaryrefslogtreecommitdiff
path: root/ubifs-utils/mkfs.ubifs
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2018-10-18 16:37:18 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2018-11-01 12:42:41 +0100
commitdd0d9c623e22255b16757c524cecf6c7edf8a3de (patch)
treefb8aff8f3f56e4f6648c369a6d98c9737009e315 /ubifs-utils/mkfs.ubifs
parent189d8c872bb1ac5a0280fbf232493ad4e15b09f9 (diff)
mkfs.ubifs: Use AES-256-XTS as default
AES-128-CBC should only being used when 256-XTS is too slow on low end hardware. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs')
-rw-r--r--ubifs-utils/mkfs.ubifs/mkfs.ubifs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
index a60d392..5847b35 100644
--- a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
+++ b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
@@ -766,7 +766,7 @@ static int get_options(int argc, char**argv)
c->encrypted = 1;
if (cipher_name == NULL)
- cipher_name = "AES-128-CBC";
+ cipher_name = "AES-256-XTS";
root_fctx = init_fscrypt_context(cipher_name, fscrypt_flags,
key_file, key_desc);