From dd0d9c623e22255b16757c524cecf6c7edf8a3de Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Thu, 18 Oct 2018 16:37:18 +0200 Subject: 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 Signed-off-by: David Oberhollenzer --- ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3