From patchwork Thu Oct 18 14:37:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Weinberger X-Patchwork-Id: 986025 X-Patchwork-Delegate: david.oberhollenzer@sigma-star.at Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="G5mEs/M6"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="lnI75Upx"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42bXwM1YLfz9sC2 for ; Fri, 19 Oct 2018 02:27:15 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6RYWr9oyjAY1pOGt17bkbxsMC8Cb7OxrSMPr1jIOBpc=; b=G5mEs/M61Q9gCu VafCorDn50RbZl4xE4p/t0CGQpWSjF3XFT4jpIDp1wMCxYUcLaa5cqm6QmrS1vNV8SUROUpAL/ngj tMBz46QsMvdaHLbcnsy47kAl/NsmRVy3m+V7k4qoTrzSHOVrW1kGCPsFnXE4rkxSjhaC80ZhucXT6 0lcsoWFnXeEqZfa5IdXnewcbWGRGFiZGLM5sC/5lA3iCX4/2RZsM/7AM0D35zXvRSYhK7GRPOjtD7 QvvKuQeCogb6mLoGKhiPAQLhEw7iVcE6UBXMDsRAE4Ox2u6frcVnEAw5KuKfsqbl37SR5SLnn+SY6 umY0WXBK5SrJGx8XwpDw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gDACS-0008S5-PP; Thu, 18 Oct 2018 15:27:00 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gDA2g-00025V-Lc for linux-mtd@bombadil.infradead.org; Thu, 18 Oct 2018 15:16:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9YCq/8YW/EWAQ7AF49VBklOyLlubQs+zyNyXEl+ErSk=; b=lnI75Upxynh4UoX8N3wlqjPYi9 YSgbRRDJKQXIjBbNnChMxbDd23DZK9O8i0260RcPSO/uDn5EMW/gMwukyi1C84rwGoBARnIa7iEiB EIfcvjQsd0RHWBHXPKx+p73+1Ic8oMA8fAkfcvEycn4S2v09wmBHwb+DuX9//lUpci6Ou6uxt31Ao /g2DTzSbk7oru7i4BP2g0cSpyUhc7yRwXJ4CSr1dAihjlWJ4eLWc8fC5iMeNdTutMfs2bn8JhD53m VZmKZVLv8CrSeU0x2fAaWN++a1xepIRddyKutglkEvUImzkGpuof9z3Yfm9aGqkz8sD67B0jK4oXi rO1KsE6w==; Received: from lilium.sigma-star.at ([109.75.188.150]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gD9SJ-0005K4-T9 for linux-mtd@lists.infradead.org; Thu, 18 Oct 2018 14:39:21 +0000 Received: from localhost (localhost [127.0.0.1]) by lilium.sigma-star.at (Postfix) with ESMTP id B505F18011B6A; Thu, 18 Oct 2018 16:39:11 +0200 (CEST) From: Richard Weinberger To: linux-mtd@lists.infradead.org Subject: [PATCH 42/42] mkfs.ubifs: Use AES-256-XTS as default Date: Thu, 18 Oct 2018 16:37:18 +0200 Message-Id: <20181018143718.26298-43-richard@nod.at> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181018143718.26298-1-richard@nod.at> References: <20181018143718.26298-1-richard@nod.at> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181018_103920_120335_BFC6DECD X-CRM114-Status: GOOD ( 10.89 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , david.oberhollenzer@sigma-star.at Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org AES-128-CBC should only being used when 256-XTS is too slow on low end hardware. Signed-off-by: Richard Weinberger --- 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 a60d392bbc81..5847b352038a 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);