From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 074D0C43334 for ; Wed, 8 Jun 2022 19:33:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234376AbiFHTdr (ORCPT ); Wed, 8 Jun 2022 15:33:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233915AbiFHTdq (ORCPT ); Wed, 8 Jun 2022 15:33:46 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 68C451E73FA; Wed, 8 Jun 2022 12:33:42 -0700 (PDT) Received: from [10.16.8.184] (unknown [131.107.147.184]) by linux.microsoft.com (Postfix) with ESMTPSA id A896E20BE665; Wed, 8 Jun 2022 12:33:41 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A896E20BE665 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1654716821; bh=9VPqD11Y0U15W613gU8t13a2O2PKBaCp3UdzdYQ4GpQ=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=WhxkAlfE/Arw1RbLOc7GEnlQmI2Ol2oj9XSLISpdfl1thZVJCkxMpYubDUAIfp6gg qzT1HybGTMPU538EVfXltAv3LCVgFXVxdeKXiiAmKKD3USU/q0s8/vVNvxd6sOBC9s 6eAoj0OttVQQb2g3fgR8EyvCwRtYvdmQyszSk3gk= Message-ID: <6f9e1481-db9c-cd5f-c38d-bdcd3040315f@linux.microsoft.com> Date: Wed, 8 Jun 2022 12:33:41 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 From: Dhananjay Phadke Subject: Re: [PATCH 5/5] crypto: aspeed: add HACE crypto driver To: Neal Liu , Herbert Xu , "David S . Miller" , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , Johnny Huang Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-crypto@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20220601054204.1522976-1-neal_liu@aspeedtech.com> <20220601054204.1522976-6-neal_liu@aspeedtech.com> Content-Language: en-US In-Reply-To: <20220601054204.1522976-6-neal_liu@aspeedtech.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 6/6/2022 8:43 PM, Neal Liu wrote: >>> +struct aspeed_hace_alg { >>> + struct aspeed_hace_dev *hace_dev; >>> + union { >>> + struct skcipher_alg skcipher; >>> + struct aead_alg aead; >>> + struct ahash_alg ahash; >>> + struct kpp_alg kpp; >>> + struct akcipher_alg akcipher; >> >> Your patch dont do any kpp or akcipher (and aead/skcipher also). >> Please drop this. > > I miss this part, I'll revise it in next patch, thanks. Hi Neal, Are you planning to submit aead separately? HW programming interface for aes-gcm is almost same as other aes modes except extra regs/fields for tag etc. Thanks, Dhananjay