From patchwork Tue Sep 17 08:50:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 173883 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp847443ill; Tue, 17 Sep 2019 01:50:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaHQ8az/cxwDW60kSisF7tHf9I+GuM4GVWrvIO7CAlKNRk+aOn/0BSAkc1YmBFNnnl2Ha3 X-Received: by 2002:aa7:c995:: with SMTP id c21mr3506370edt.129.1568710224569; Tue, 17 Sep 2019 01:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568710224; cv=none; d=google.com; s=arc-20160816; b=ux21d+XG80jxgrPpq0p0hXb6UEpLz2uav6QBjsAwuG4tOHNQhOFnRSQCa4Q/KmJ+RZ OBMQvJTKZbQotG1Vzcc8FLz3EihTA8yDMB7aC+ydbgFX7ZBCednoS6zr5Xa1lD24bDgj tr39K2JGoQof5WCdjmqLb4b+whPTVC46lEoDVlOUDF9nBefqyb77tTCf3N7WLuClBhPO JkbZYJ5spCGtMh1THNj+Gbe/fa/oj7VygH2BCKpBKbY9XLRP9O3a6wJqm/I3IGbA1Ld8 ST0ivHvGXMGl9FG12EXFPT+cvqA/OnM/+j4AEMN32N+NfGFgBw/O1cSjW1ZIvkMYKtAo iYdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=h3uy3/zuXaqe/NahJvaso8GOvAUcguuKMpl3VTMZFQE=; b=r5GUsvSe74k6RAxwU7drVoWL46nme5wkUhkdydQyzbH2srfp/js1esuvjyfzkF9oXZ if6fk8kiUYQOd8xPLZCgTBQSHSnr1PpC4kbpR/P+ft3wh0UTChIKAD2WY7Q7/2MKBvvt nafWQOnQ8KxSYJSyznppYfyneg/luEYt9EKqA4gdDnKTyvNWHhrv72lbbAf4yiZJBR6f z+gH64z/00G2bsv5oQU0QqRAbmEc6O72iZbTk+r0Sou4ftVju4SH9CuSdzB64WXgPoLo 4DoRQT0zMR3Cn/18ZY/Cvik/2MlgGV9Era/LHNiZYdvPOFqpMJKGZPA/fsxViTw+dP1E Ug7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b12si1025995edk.16.2019.09.17.01.50.24; Tue, 17 Sep 2019 01:50:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389188AbfIQIuU (ORCPT + 3 others); Tue, 17 Sep 2019 04:50:20 -0400 Received: from foss.arm.com ([217.140.110.172]:53126 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728698AbfIQIuU (ORCPT ); Tue, 17 Sep 2019 04:50:20 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 90B69142F; Tue, 17 Sep 2019 01:50:19 -0700 (PDT) Received: from e111045-lin.cambridge.arm.com (e120756.arm.com [10.1.39.60]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F3B063F575; Tue, 17 Sep 2019 01:50:18 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, Ard Biesheuvel Subject: [PATCH 2/2] crypto: arm/aes-ce - add dependency on AES library Date: Tue, 17 Sep 2019 09:50:01 +0100 Message-Id: <20190917085001.792-2-ard.biesheuvel@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190917085001.792-1-ard.biesheuvel@arm.com> References: <20190917085001.792-1-ard.biesheuvel@arm.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Ard Biesheuvel The ARM accelerated AES driver depends on the new AES library for its non-SIMD fallback so express this in its Kconfig declaration. Signed-off-by: Ard Biesheuvel --- arch/arm/crypto/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/arch/arm/crypto/Kconfig b/arch/arm/crypto/Kconfig index b24df84a1d7a..043b0b18bf7e 100644 --- a/arch/arm/crypto/Kconfig +++ b/arch/arm/crypto/Kconfig @@ -98,6 +98,7 @@ config CRYPTO_AES_ARM_CE tristate "Accelerated AES using ARMv8 Crypto Extensions" depends on KERNEL_MODE_NEON select CRYPTO_BLKCIPHER + select CRYPTO_LIB_AES select CRYPTO_SIMD help Use an implementation of AES in CBC, CTR and XTS modes that uses