Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp542828iof; Mon, 6 Jun 2022 08:12:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6u5j/RZ86Kfy4X/j07mNQzVm/uEy2BSx4odYw7ZdEQF7DrPspUVMCfrT66QNvwSNUfnhB X-Received: by 2002:a17:90b:304:b0:1e3:4489:193c with SMTP id ay4-20020a17090b030400b001e34489193cmr35546486pjb.78.1654528351458; Mon, 06 Jun 2022 08:12:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654528351; cv=none; d=google.com; s=arc-20160816; b=KMKFDuocbvjdMUa7Wd+aC3aLIN2y5TbFhyCmjgqxKc3NA2n9dPJkFUMNr59IZU784s bVpD01EPCJ9v3le82BbXdLGmwX0E9PwM1+Bz0RKaXxRQ8LB19APCP79JIyP46NByD0yS OCJo+zstZvBJN/pvjla40B8lUgwymYDkb/wKGMsADWiHdMCG3RC3j2bO8PfKeuIiVJ0c rAfN+i4n3i+oEkMP8Sat825B2EM31Bh4cCDefxx0LdJKVARBmhLY1E+f0acSEB33r1Bt WFQyDYjs8RPszgKMa/gjDMcc3F90dnunPVAp6pDP2+w5uHLiO0HHFurPGKUoS9SNMpE7 Xb4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vDRclcjga8kGMaQ++bzfqjieH/Oopd34EHTMUp62p0w=; b=YCwIC7KG8um0ZWRE0j9h4CgIMTndq+O7btUsWHtpvidfxDif2FG24nRxMz/fzWzpAm VIwhBT/ELYBTants3KKH0zzmHBgTFxiA2wE1v4yK6cdXWR71rRYf1zwiHJZVwxYlvgJP kzKWkFW2wLX0LfZ3UN6WuBqR2OJFj/KQnX0WnEoAl+eh5MwYTUb0/vsKFNTShejRtHbR LjSizqChpB+Ui/nJXvyqW8EUR4YsJHOnpSA8OmLZoXLEQ9MppMH1Sz3Z3JDNlEe7Z2rz 8Qf5kk8a5DPH+K+MZgDZfgM13Y6rH6mLjkYww4HUwe84OpTlgDOuDMOTeI0D2BKaqM2f wC4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=kl++s1Qq; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d1-20020a63f241000000b003db238f2a93si21725966pgk.815.2022.06.06.08.12.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 08:12:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=kl++s1Qq; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 704E33082C8; Mon, 6 Jun 2022 07:59:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240148AbiFFO6y (ORCPT + 99 others); Mon, 6 Jun 2022 10:58:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240197AbiFFO6w (ORCPT ); Mon, 6 Jun 2022 10:58:52 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C744307A94; Mon, 6 Jun 2022 07:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=vDRclcjga8kGMaQ++bzfqjieH/Oopd34EHTMUp62p0w=; b=kl++s1QqBSCGGS515hpbBboz0R OnKKNW7bq+COAZEFWPlZWPixaZdt38PrmyMbE8UTZH8ZoX0sQWG9nACQuh3bNQdQOk6KcWBS24psn ohEhY7YoFGQbwRMKayE947pRRIH5FkJF4vYwpyOZ9BvX9s8q0Dx8gm9TH4epY2oyLT7LX5OP8YS+z mwQL8I8SKC4wpEV4YGGLNHB1hUXiKcdJxo14DZjBGdfMLcBlPx0jynqMxGNkD5ldaboXAGXL95eGT RMC53OZRWCb57vBcNmvHxNddub59uZwVROKf+8RnfeM5nRBBKL4019rKc+RBxfr55TIbPScmeTGP4 /OWw8NfQ==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyEBd-005Tbs-BR; Mon, 06 Jun 2022 14:58:33 +0000 Message-ID: Date: Mon, 6 Jun 2022 07:58:27 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v2 1/5] crypto: aspeed: Add HACE hash driver Content-Language: en-US To: Neal Liu , Herbert Xu , "David S . Miller" , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , Johnny Huang Cc: linux-aspeed@lists.ozlabs.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, BMC-SW@aspeedtech.com References: <20220606064935.1458903-1-neal_liu@aspeedtech.com> <20220606064935.1458903-2-neal_liu@aspeedtech.com> From: Randy Dunlap In-Reply-To: <20220606064935.1458903-2-neal_liu@aspeedtech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: X-Mailing-List: linux-crypto@vger.kernel.org Hi, On 6/5/22 23:49, Neal Liu wrote: > diff --git a/drivers/crypto/aspeed/Kconfig b/drivers/crypto/aspeed/Kconfig > new file mode 100644 > index 000000000000..17b800286a51 > --- /dev/null > +++ b/drivers/crypto/aspeed/Kconfig > @@ -0,0 +1,22 @@ > +config CRYPTO_DEV_ASPEED > + tristate "Support for Aspeed cryptographic engine driver" > + depends on ARCH_ASPEED > + help > + Hash and Crypto Engine (HACE) is designed to accelerate the > + throughput of hash data digest, encryption and decryption. > + > + Select y here to have support for the cryptographic driver > + available on Aspeed SoC. All of the help text above (following the 'help' line) should be indented with one tab + 2 spaces, as is done in the help text below here. > + > +config CRYPTO_DEV_ASPEED_HACE_HASH > + bool "Enable ASPEED Hash & Crypto Engine (HACE) hash" > + depends on CRYPTO_DEV_ASPEED The 2 lines above should be indented with one tab instead of multiple spaces. > + select CRYPTO_SHA1 > + select CRYPTO_SHA256 > + select CRYPTO_SHA512 > + select CRYPTO_HMAC > + help > + Select here to enable ASPEED Hash & Crypto Engine (HACE) > + hash driver. > + Supports multiple message digest standards, including > + SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on. -- ~Randy