From patchwork Mon Sep 5 11:58:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 75377 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp35941qgf; Mon, 5 Sep 2016 04:59:17 -0700 (PDT) X-Received: by 10.66.132.104 with SMTP id ot8mr41387116pab.66.1473076755000; Mon, 05 Sep 2016 04:59:15 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t3si23092989pfd.290.2016.09.05.04.59.14; Mon, 05 Sep 2016 04:59:14 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755819AbcIEL7I (ORCPT + 1 other); Mon, 5 Sep 2016 07:59:08 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:38821 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755790AbcIEL7F (ORCPT ); Mon, 5 Sep 2016 07:59:05 -0400 Received: by mail-wm0-f48.google.com with SMTP id 1so135159912wmz.1 for ; Mon, 05 Sep 2016 04:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=yu5APbPLKrvnnlN/+mruDSNaesLsvYTZcyRIjcmsPss=; b=SeRxVtLHPuLxSga5x1ngjA9N/BwuJOzCKDeihLeKJGMOXgbiNwE432skoqD4Q1anIA cAc+zdJd6gcqzcB62Pn0V9e4dPCZvSON3KJRCe0EDxDUv4XqaIG7vr/JpT3jXPvyYnLg gTlWlvfwWNZ5iKMO8rB0K6F471Nz+Vey8IXpQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yu5APbPLKrvnnlN/+mruDSNaesLsvYTZcyRIjcmsPss=; b=dtSNHmartL/J95WMWtcAQtFtHDL0b+Lrfa59/rHv8WNqZ2pMu1pP2oG4iJ073tzkKz AtZxlCau4htdJWmPQ+YcV9T5Tf420cUsyNvq+F3BNwn5XuvPTmDCogqwjGZKelB3wzfu YWn0aP7IDavVyZ8K7P09IubPMMabUM0RhVmEnfmphRThkA+VwUJrb/X968gHhNudphlR 6in6oczh9POM2LkqeHiY98WjJGiQUZBmq0n5sZlQ1B2uvFLPNWW9K0rQuE+HmPGp90OA jJjsmg6ZuXxmTo6sVcjIUCCJHO/upscNeAH2Ew+QrdGRT0lFkQTz9R+jUMfap4XNm89B 4U2w== X-Gm-Message-State: AE9vXwNRygQ3ndF/Y5Zi3Ul9iYzfTvqhdBa133EfzPJgSHoiIIUtTSUzOS245NgzfNrqds2a X-Received: by 10.194.21.229 with SMTP id y5mr31402844wje.170.1473076743745; Mon, 05 Sep 2016 04:59:03 -0700 (PDT) Received: from localhost.localdomain ([197.130.133.164]) by smtp.gmail.com with ESMTPSA id vh6sm27353941wjb.0.2016.09.05.04.59.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Sep 2016 04:59:03 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au Cc: Ard Biesheuvel Subject: [PATCH] crypto: arm/ghash: change internal cra_name to "__ghash" Date: Mon, 5 Sep 2016 12:58:44 +0100 Message-Id: <1473076724-2725-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The fact that the internal synchrous hash implementation is called "ghash" like the publicly visible one is causing the testmgr code to misidentify it as an algorithm that requires testing at boottime. So rename it to "__ghash" to prevent this. Signed-off-by: Ard Biesheuvel --- Hi Herbert, This one should be able to go on top of the 3-pieces series I sent you last week. Thanks, Ard. arch/arm/crypto/ghash-ce-glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/crypto/ghash-ce-glue.c b/arch/arm/crypto/ghash-ce-glue.c index b88364aa149a..7546b3c02466 100644 --- a/arch/arm/crypto/ghash-ce-glue.c +++ b/arch/arm/crypto/ghash-ce-glue.c @@ -138,7 +138,7 @@ static struct shash_alg ghash_alg = { .setkey = ghash_setkey, .descsize = sizeof(struct ghash_desc_ctx), .base = { - .cra_name = "ghash", + .cra_name = "__ghash", .cra_driver_name = "__driver-ghash-ce", .cra_priority = 0, .cra_flags = CRYPTO_ALG_TYPE_SHASH | CRYPTO_ALG_INTERNAL,