Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp871386pxy; Wed, 5 May 2021 16:28:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEG73N0RAurGwDkOGK4MJQ0P/dnTocWiQQHeHwg6+IoI365kd1WkGg1yuBdhpzDWAmyl6e X-Received: by 2002:aa7:c9cb:: with SMTP id i11mr1546722edt.331.1620257327801; Wed, 05 May 2021 16:28:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620257327; cv=none; d=google.com; s=arc-20160816; b=WM66qF1UmDKNBTBS3BUMupagEMdk1jJc9FGHzBf+n4ewOVOcklI2bydQ4Nv1Bk7A1K 73Fvo2XkXrekXIjBEexc+wnI5h+J/+HlciqUZ9sChbyNNGRjdVUgzdWUfIkJzmniEqro Hq1MQCgGM/BI1rFZtoaHv9zTJkWj0j+iR4lTkmCF1DwwTCDIbBzSXheCfSbVfo/1fSmq 0weE6k+66iRkNEyC+/SQAkIB4phh3NYXXaN4AXZZZvTH7ki8uldVpNaf3EodmdsiB2p+ IJdaTWP3wCY/HggJRWDwXdlI3AgGWlHzUdvV3seu/SJMbJ+m1a+rcPabKlPbLblVTKh+ JFRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:dkim-signature; bh=q0zaKRzVGTfWicFKwAlACr051DkRY61aB+V34lEP+IA=; b=vJzoC/0enJxYoyQ20hp8oNIytySCPI6mB1AbLMU27Sf7qZJF5H9MgIR5x3dg7i4kB4 mBFEdDKnHW7QqypBFctbnITmRDrpBAwZ803RgtC8t15cCjKa41yWnjDBODYzVJQuQdEB ZWBCFP2d/SogjpTjakHDFPzGKyb7SITXwtaQjbZBoZFuEHP52Skb1YcA7UBcUAzLJeK2 6raV93WrP4bLZJYcGtgfFC7ddJJkK3dLNS0eMceYV5Irep9qJH+tS4Jv2spMXBst6r2+ LudTZOXX2myAnD+v8+kERLzO+zZXXDQx2rqPjpRJpFZVJUWzuIfWKB2IMIRAKLRrqFNu dJAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="j//dnuDq"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si188958edd.260.2021.05.05.16.28.14; Wed, 05 May 2021 16:28:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="j//dnuDq"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229966AbhEEWzU (ORCPT + 99 others); Wed, 5 May 2021 18:55:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhEEWzT (ORCPT ); Wed, 5 May 2021 18:55:19 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81383C061574 for ; Wed, 5 May 2021 15:54:22 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id p6so2580511qtk.13 for ; Wed, 05 May 2021 15:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=q0zaKRzVGTfWicFKwAlACr051DkRY61aB+V34lEP+IA=; b=j//dnuDqqgd1N5DOil+G4gzmT2ik8uFoLeEhVq+HpkRWkz4y7xDWHyiP4LF77UzSB/ vKwools9QClihcN9Mop6spO30pPbEfXMt5YxnKxoYgUzKn09yW0gANLO9ipUbm7izU7W Z4lcJiv2mBnf8KssxDIHZeZ9hVUwSAehuuywggg4TmaZbdkzzFCtHcY32HoKxGW7lbK0 0Ixx8OUlqM3wQ3EITck0/gPsfD7ZCi+msx191keWX/4G89grao/VJuEecz/kpZYg8Iiw HE8SDOado5mFDuoafp/E3flRCIC5N72u2rtTfzWvJmPSJnRSN0aYaxhaJC367CKdHz9T Ebkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=q0zaKRzVGTfWicFKwAlACr051DkRY61aB+V34lEP+IA=; b=LumHeEBIAeivsXx8iKZyegqdkwwkoLGLfE4FHnp2H5eBelhcm4uMDPK7k/J0BDEviN rhDFzA0VIfaqj3pA+OMVablcEMaiT/T4gOFDMODnjTkwhjGPEYs3kE3KeafXEIvtm4nt BDZdBGDuxi1+KDziEmv8qm/2ufHOP4IHFOUur+Dof5ZcsT5WsB98AfyVTFc3sTX7C4JU GHqbjWMUVPigySzeAMyng5YmfmLMloB5nksDwIh+pu54P+0ApA+PRp9lH+psVo+KA1HP JuG/fVrG1CVAkC0RIu4PrHk8tYlFpLOl14w0pv/EHZkStPNjngeiH/A1heIxZRGxoxL0 QZFw== X-Gm-Message-State: AOAM531iXibqZUFs9gcDL1uGtoKkvS0y2rY0u5lPcbUA4Okx9eG5jCSp twoqPVodYdiXZQlgoz3CJSPk3Q== X-Received: by 2002:ac8:6f79:: with SMTP id u25mr960182qtv.166.1620255261363; Wed, 05 May 2021 15:54:21 -0700 (PDT) Received: from [192.168.1.93] (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.gmail.com with ESMTPSA id x13sm627365qtf.32.2021.05.05.15.54.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 May 2021 15:54:20 -0700 (PDT) Subject: Re: [Patch v4 0/7] Add support for AEAD algorithms in Qualcomm Crypto Engine driver From: Thara Gopinath To: herbert@gondor.apana.org.au, davem@davemloft.net, bjorn.andersson@linaro.org Cc: ebiggers@google.com, ardb@kernel.org, sivaprak@codeaurora.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20210429150707.3168383-1-thara.gopinath@linaro.org> Message-ID: <48d51bb5-a107-4756-4767-f62131d28505@linaro.org> Date: Wed, 5 May 2021 18:54:18 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210429150707.3168383-1-thara.gopinath@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 4/29/21 11:07 AM, Thara Gopinath wrote: > Enable support for AEAD algorithms in Qualcomm CE driver. The first three > patches in this series are cleanups and add a few missing pieces required > to add support for AEAD algorithms. Patch 4 introduces supported AEAD > transformations on Qualcomm CE. Patches 5 and 6 implements the h/w > infrastructure needed to enable and run the AEAD transformations on > Qualcomm CE. Patch 7 adds support to queue fallback algorithms in case of > unsupported special inputs. > > This patch series has been tested with in kernel crypto testing module > tcrypt.ko with fuzz tests enabled as well. Hi Herbert, I have fixed all the review comments on this series and fuzz tests pass as well. Do you think this can be merged ? -- Warm Regards Thara > > Thara Gopinath (7): > crypto: qce: common: Add MAC failed error checking > crypto: qce: common: Make result dump optional > crypto: qce: Add mode for rfc4309 > crypto: qce: Add support for AEAD algorithms > crypto: qce: common: Clean up qce_auth_cfg > crypto: qce: common: Add support for AEAD algorithms > crypto: qce: aead: Schedule fallback algorithm > > drivers/crypto/Kconfig | 15 + > drivers/crypto/qce/Makefile | 1 + > drivers/crypto/qce/aead.c | 841 ++++++++++++++++++++++++++++++++++++ > drivers/crypto/qce/aead.h | 56 +++ > drivers/crypto/qce/common.c | 196 ++++++++- > drivers/crypto/qce/common.h | 9 +- > drivers/crypto/qce/core.c | 4 + > 7 files changed, 1102 insertions(+), 20 deletions(-) > create mode 100644 drivers/crypto/qce/aead.c > create mode 100644 drivers/crypto/qce/aead.h >