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 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA5D2C4646D for ; Fri, 28 Jun 2019 05:14:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BD0E2206E0 for ; Fri, 28 Jun 2019 05:14:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aJRgT7Pg"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="quxPhB6D" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD0E2206E0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Zxqevw6HqEKa7WiIVC/rWDB5A/5ZNL/Cj4F8GbPlM0Q=; b=aJRgT7PgUnLBjn iZRevLAKiEwqwyAJFLOW/Al2WZeDE3GufHimj01mHRNZlZDZcZUnXwm0w1+6WFbbHEBM3BApexqcj uAGf1LTt+4EeRAfno/EwTZnHF8LNXSkHVcuZ3nYKTqm2eRFFZjppWUCu2y+wUZXf3x6I7rqeIa8S6 YK6hdZkIq45H0FRq71iRNjmVXuUQOz7durM1CThOvO6G1jDkCjBulYV7uFRPYs2QxOqrdyUsDLAYN +AI99nGggXsaA4+z+6Mq0H6tupo9/E56MlKDHnje4VDQDtld6fggKXDcrKKFZP8i8WpRgeH+1Hp0I OT4M5z7xBjZX+MDpNwwg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hgjDH-0006RY-79; Fri, 28 Jun 2019 05:14:19 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hgjDE-0006RD-Ej for linux-arm-kernel@lists.infradead.org; Fri, 28 Jun 2019 05:14:17 +0000 Received: from sol.localdomain (c-24-5-143-220.hsd1.ca.comcast.net [24.5.143.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C988C206E0; Fri, 28 Jun 2019 05:14:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561698856; bh=DhELx/49gV/5AuHJO3qXMkk+Qyz7QJ3lUm8zTqvLcYQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=quxPhB6DFbqKCfyAC8+TBO1u90nmYR+3Pv+Kq2NZ+nT5ZtaFJQiQzhymfHzYN7Fcr +08B/y4VUwyws6NcZO/49T2i1tQ3Y9EyyrnvwPyNROL1SUVcHL6QKu5LrBNyNEsXqj rHKtZAZVllT4ZxBR7WA/Ud88xpfD79ZMDu6qwjEg= Date: Thu, 27 Jun 2019 22:14:12 -0700 From: Eric Biggers To: Keerthy Subject: Re: [RESEND PATCH 07/10] crypto: sa2ul: Add hmac(sha1) HMAC algorithm support Message-ID: <20190628051412.GG673@sol.localdomain> References: <20190628042745.28455-1-j-keerthy@ti.com> <20190628042745.28455-8-j-keerthy@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190628042745.28455-8-j-keerthy@ti.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190627_221416_513792_2978814F X-CRM114-Status: UNSURE ( 7.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nm@ti.com, devicetree@vger.kernel.org, herbert@gondor.apana.org.au, linux-kernel@vger.kernel.org, t-kristo@ti.com, robh+dt@kernel.org, linux-crypto@vger.kernel.org, davem@davemloft.net, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jun 28, 2019 at 09:57:42AM +0530, Keerthy wrote: > +static int sa_sham_update(struct ahash_request *req) > +{ > + return -ENOTSUPP; > +} > + > +static int sa_sham_final(struct ahash_request *req) > +{ > + return sa_sham_digest(req); > +} > + > +static int sa_sham_finup(struct ahash_request *req) > +{ > + return sa_sham_digest(req); > +} You can't just not support update(). You need to support update(). - Eric _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel