Received: by 10.223.176.46 with SMTP id f43csp891890wra; Fri, 26 Jan 2018 08:30:08 -0800 (PST) X-Google-Smtp-Source: AH8x225Eu31TTkiP6WQ+XsZq36FOZVwaC49I6yUcKzcSzvfkisjLHUkgupZW48mIusa2/JvYZEcd X-Received: by 10.98.158.89 with SMTP id s86mr19805035pfd.203.1516984208885; Fri, 26 Jan 2018 08:30:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516984208; cv=none; d=google.com; s=arc-20160816; b=AqOFnk7Pw9IraUhGQk/2m//JiX5C9ZeG0decUor5Y5WyxbDUnJuR+U3Z33Wyw99bS5 GAIsmlxGn/Tc23g4ZEWgfhikHLv1ko9Tu6tlUZBWpC/iRLh7mN5CWSR2nwrq4/eSn4ic fl5z0y82CR55JNdTbXpUMSGhHAu4OTp+qVIikPwCM2moqsKi3MfDvSMcfSSpKDjW1POD vMOPEGmeOy0Madr5dHb/hlZYFaPZ6mRMoqdT+WEPiBfuxMqvSAqHWxn2tWibRRO1JVfo QKXq/fPj890fNYsYNnByj0qRgTwOEDY+4cAtWttMx78rcT4nDvfVKjwM4m0HQDi2yiYD vmzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Bn2uGcL058iMHG5tfQUr8TXaIAgtWWgCBPxM+HSwOK0=; b=Xwr1rjCAg9P4yFqIxcts3jazIo0E81Qu+VAjiuhxOW16J4ZnO0C+o5jQmlWXOthN5l lL3R30VZ8/E8WnckjVJ7HV55hX/HGaI3XDPhcimz9hBpOHWzAdWpSO67AmIl6E2utCP+ cOfiLgUuesXXuEBxCROlDyI3YtVtzP59HmvIn4RD/BRrkGnGp0JvvsgojxrhH4coKLMn YrIbnoz77GkILqgkk+clOvzZUkI0qaMWnJa6D0Y3quQ5P6itiAYs5OWfzLGqpx5jHpn1 Z8IcMK1Nn7FN6QhnXsc6y/k/j6/Q3IOBgOJlBKrBFpQVNowjI3yOweFM+CB2l2WxJMyQ v0Ow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13si3198592pgr.20.2018.01.26.08.29.54; Fri, 26 Jan 2018 08:30:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752316AbeAZQ3I (ORCPT + 99 others); Fri, 26 Jan 2018 11:29:08 -0500 Received: from orcrist.hmeau.com ([104.223.48.154]:39624 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751881AbeAZQ2c (ORCPT ); Fri, 26 Jan 2018 11:28:32 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.84_2 #2 (Debian)) id 1ef6BT-00012N-Gi; Fri, 26 Jan 2018 23:44:55 +0800 Received: from herbert by gondobar with local (Exim 4.84_2) (envelope-from ) id 1ef6BQ-00017u-JG; Fri, 26 Jan 2018 23:44:52 +0800 Date: Fri, 26 Jan 2018 23:44:52 +0800 From: Herbert Xu To: Kamil Konieczny Cc: "David S. Miller" , Bartlomiej Zolnierkiewicz , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: testmgr.c: test misuse of result in ahash Message-ID: <20180126154452.GC4002@gondor.apana.org.au> References: <9d678a28-8cb3-1ab8-cefe-1bafff2a18d9@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9d678a28-8cb3-1ab8-cefe-1bafff2a18d9@partner.samsung.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 16, 2018 at 03:26:13PM +0100, Kamil Konieczny wrote: > Async hash operations can use result pointer in final/finup/digest, > but not in init/update/export/import, so test it for misuse. > > Signed-off-by: Kamil Konieczny Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt