Message ID | 1407148469-26190-2-git-send-email-ard.biesheuvel@linaro.org |
---|---|
State | Accepted |
Commit | 31e1a602b97dd7f68adb44ebac89caa7f1a25b1c |
Headers | show
Return-Path: <patchwork-forward+bncBDYNJBOFRECBBRGD7WPAKGQEVXOXKYQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f69.google.com (mail-qg0-f69.google.com [209.85.192.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F1CD823B1A for <linaro@patches.linaro.org>; Mon, 4 Aug 2014 10:34:44 +0000 (UTC) Received: by mail-qg0-f69.google.com with SMTP id a108sf14203396qge.0 for <linaro@patches.linaro.org>; Mon, 04 Aug 2014 03:34:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=+CyH2OpBLidtfe7S4kLie3KaI886lnoi7jS9Zs5pY8U=; b=DfpCooiX5T6z9wPA+1DymLbrajgCqR29s4vVYaHInJwhJD1ymDog4lEwkK5/K7PMvM Mi9dkvTFYN0CRlsQfZ5JzHX8IWHdg/XKZZnp77HJF8HPCh+ll6AoPgcZ+425mOjtNV8X fQ1na7RUww/81VT63BtOL1SG72Jg8TJ92zcLXx/TxntbWjJdh1sQyr44j58slhXy6SZg PCYeN8D1C6/ajHFfUvfzFraZWL2ft6lY7aBnTkxg3deC8ejCvSNKc3lyjzttXdctipb8 8ZJx61aARXnKQ3L689FC7RzayzuAlmHmwXvuZFmqBBcK6AwSc8EqCv7e3zZ4Zp4Ktqp0 j5yQ== X-Gm-Message-State: ALoCoQmWq2mulXDaaWXU15KjexoTTExc4X35cUhuefIF6Ye9FoHYOk40y5A8MxUoC3wcdhs8QcGz X-Received: by 10.236.39.77 with SMTP id c53mr107341yhb.20.1407148484732; Mon, 04 Aug 2014 03:34:44 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.233 with SMTP id l96ls2145300qgl.42.gmail; Mon, 04 Aug 2014 03:34:44 -0700 (PDT) X-Received: by 10.52.120.83 with SMTP id la19mr825558vdb.68.1407148484640; Mon, 04 Aug 2014 03:34:44 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id zt9si11635712vdc.31.2014.08.04.03.34.44 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Aug 2014 03:34:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id hy4so10835002vcb.13 for <patchwork-forward@linaro.org>; Mon, 04 Aug 2014 03:34:44 -0700 (PDT) X-Received: by 10.220.92.5 with SMTP id p5mr22211691vcm.7.1407148484577; Mon, 04 Aug 2014 03:34:44 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp293854vcb; Mon, 4 Aug 2014 03:34:44 -0700 (PDT) X-Received: by 10.66.249.71 with SMTP id ys7mr2478492pac.112.1407148483356; Mon, 04 Aug 2014 03:34:43 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si8601896pdk.159.2014.08.04.03.34.43 for <patch@linaro.org>; Mon, 04 Aug 2014 03:34:43 -0700 (PDT) Received-SPF: none (google.com: linux-crypto-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752197AbaHDKem (ORCPT <rfc822;patch@linaro.org>); Mon, 4 Aug 2014 06:34:42 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:58365 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752511AbaHDKej (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Mon, 4 Aug 2014 06:34:39 -0400 Received: by mail-wi0-f173.google.com with SMTP id f8so4755783wiw.12 for <linux-crypto@vger.kernel.org>; Mon, 04 Aug 2014 03:34:37 -0700 (PDT) X-Received: by 10.180.107.170 with SMTP id hd10mr28343613wib.77.1407148477673; Mon, 04 Aug 2014 03:34:37 -0700 (PDT) Received: from ards-macbook-pro.local ([188.252.229.85]) by mx.google.com with ESMTPSA id di7sm42549064wjb.34.2014.08.04.03.34.36 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Aug 2014 03:34:36 -0700 (PDT) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: linux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk, jussi.kivilinna@iki.fi Cc: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au, Ard Biesheuvel <ard.biesheuvel@linaro.org> Subject: [PATCH 2/2] ARM: crypto: enable NEON SHA-384/SHA-512 for big endian Date: Mon, 4 Aug 2014 12:34:29 +0200 Message-Id: <1407148469-26190-2-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1407148469-26190-1-git-send-email-ard.biesheuvel@linaro.org> References: <1407148469-26190-1-git-send-email-ard.biesheuvel@linaro.org> Sender: linux-crypto-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-crypto@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/crypto/Kconfig b/crypto/Kconfig index deef2a4b6559..d560c66125bd 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -602,7 +602,7 @@ config CRYPTO_SHA512_SPARC64 config CRYPTO_SHA512_ARM_NEON tristate "SHA384 and SHA512 digest algorithm (ARM NEON)" - depends on ARM && KERNEL_MODE_NEON && !CPU_BIG_ENDIAN + depends on ARM && KERNEL_MODE_NEON select CRYPTO_SHA512 select CRYPTO_HASH help
The SHA-512 NEON works just fine under big endian, so remove the Kconfig condition preventing it from being selected if CONFIG_CPU_BIG_ENDIAN is set. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- crypto/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)