Message ID | 20221018071006.5717-2-tianjia.zhang@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1815649wrs; Tue, 18 Oct 2022 00:12:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4jQssUXqrnjWeEMbxZoPZhzViQsW58SxKJnNSA2yCIVD6o0fJLhuogXAKVN3JP9csKaUM9 X-Received: by 2002:a17:906:99c5:b0:73d:70c5:1a4f with SMTP id s5-20020a17090699c500b0073d70c51a4fmr1193780ejn.302.1666077128345; Tue, 18 Oct 2022 00:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666077128; cv=none; d=google.com; s=arc-20160816; b=YNiIQWBdsVb6Gnu5CRH1SyA85fkgHg+yGhB0wpM/aJoDaAB69dhmjr0jgwDln8BxlJ koYFVzOZfBCY1ya8Yx5W5Ro93Rknvhs5Y3P0aHV1CNpKNrYFiZq+VxqAQ/yx0QtK/53b bykkX1saPtqbF+7Pg5aKljJHVwo18iTG2tshQDJdjWOu9tdoaDBJSQtcKPz5r/WcmyeI /VGpSIjQWO0pXG40Y8ZVyYBr5jT1HM8kybqyDUC5mOBPFZK0ekf9Eq5n66VHyK12eTLw kxsLVcrlfVX/FdYJC5ZbxnpvcHrtxsdmEINp0YL/J5Vcl+8zo2H05+fb/iUblUi0E5L0 cVuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=F7XZpVaXG0ProFma7qrCaFOmLAsjJnnyw4/sJyy7ekc=; b=jn8yqmXYuvr7kVPkwukFHCFZZ8HYwHJX3Fg/bcyDKVYXxS2QaJiu8JKNB/zLL7ct7T 7b6toMrU8w21bdoDPgdvfLmhsKfInq3zgA1SCLM7iYW71Ynz8iw/HdPt+dIg0uynyhcF WyIwmEVq/o5EvjmHGPIUJT6bP6vNj8SbDBD3ns4geP61lc045goJosGtF6q2i6Hmq8V9 4TbjEYEerh23HL0C+xDxNXc9wXR5gSEnlm6JXbfhSnriJ7xvWnexPtUwkZEg0iDoWKbN Ht+aXhxb8DLahXaHX1eIgYZWr6VHLYPVdy5Ar61axywhCFZ+S8CmoNYR2IUZvjlrfGJr ELEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a1709060c4900b007317756bc04si8760619ejf.1006.2022.10.18.00.11.43; Tue, 18 Oct 2022 00:12:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230110AbiJRHKX (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Tue, 18 Oct 2022 03:10:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbiJRHKU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Oct 2022 03:10:20 -0400 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB88A79A48; Tue, 18 Oct 2022 00:10:16 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=tianjia.zhang@linux.alibaba.com;NM=1;PH=DS;RN=15;SR=0;TI=SMTPD_---0VSTVkP-_1666077011; Received: from localhost(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0VSTVkP-_1666077011) by smtp.aliyun-inc.com; Tue, 18 Oct 2022 15:10:12 +0800 From: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> To: Herbert Xu <herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net>, Jussi Kivilinna <jussi.kivilinna@iki.fi>, Ard Biesheuvel <ardb@kernel.org>, Mark Brown <broonie@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Eric Biggers <ebiggers@kernel.org>, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Cc: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Subject: [PATCH v2 01/15] crypto: arm64/sm3 - raise the priority of the CE implementation Date: Tue, 18 Oct 2022 15:09:52 +0800 Message-Id: <20221018071006.5717-2-tianjia.zhang@linux.alibaba.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) In-Reply-To: <20221018071006.5717-1-tianjia.zhang@linux.alibaba.com> References: <20221018071006.5717-1-tianjia.zhang@linux.alibaba.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747008491045092501?= X-GMAIL-MSGID: =?utf-8?q?1747008491045092501?= |
Series |
Optimizing SM3 and SM4 algorithms using arm64 NEON/CE instructions
|
|
Commit Message
Tianjia Zhang
Oct. 18, 2022, 7:09 a.m. UTC
Raise the priority of the sm3-ce algorithm from 200 to 400, this is
to make room for the implementation of sm3-neon.
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
---
arch/arm64/crypto/sm3-ce-glue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/crypto/sm3-ce-glue.c b/arch/arm64/crypto/sm3-ce-glue.c index ee98954ae8ca..54bf6ebcfffb 100644 --- a/arch/arm64/crypto/sm3-ce-glue.c +++ b/arch/arm64/crypto/sm3-ce-glue.c @@ -84,7 +84,7 @@ static struct shash_alg sm3_alg = { .base.cra_driver_name = "sm3-ce", .base.cra_blocksize = SM3_BLOCK_SIZE, .base.cra_module = THIS_MODULE, - .base.cra_priority = 200, + .base.cra_priority = 400, }; static int __init sm3_ce_mod_init(void)