Received: by 10.213.65.68 with SMTP id h4csp477343imn; Fri, 16 Mar 2018 08:58:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELuXXeOEnvbpzyd24JGdQz8h3r1xoMVavSGhDoeVKp7e+xKwdeF9601pd5UFeajLM+GiAYTY X-Received: by 10.101.100.9 with SMTP id a9mr1847122pgv.209.1521215888773; Fri, 16 Mar 2018 08:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521215888; cv=none; d=google.com; s=arc-20160816; b=y8Nw1JgMkNXBRi1zfA/UInLxoxEy2ABgDtLJCFQ8QanyAH0XNeGcpiiOHO5gXbLkSt oS89D4JdS6yUxEYBZ/4RY6wOtwZFa63HXertbSgSb4wMPd9en59EfubeBSIORSb4V4r3 6qL8eVPxUzjNaf7C1WoDM4UN+P3KRriqG7JnhZwGdh++r3slsQ5zJiLWdj3vfvFKw0oz Je8GXAh7fV1H2BGT2b5o7tYnGJzcC8IJGg3xWLrNbVS4O94KMmHD78DDY2tR/EWU0W7x qsZrmEYTx1lYtFEKX59LHdSxQAbmEFmwFU6qat9ncdhC821GheJAwoLdLAn9ouXMXHSx V+gA== 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=n7FrNlje3l60piTIVMeALiOJfvSx+tqEedBiICmHBs4=; b=wNGIojw5TinD6BrIFD6IoobqoFKFDke/lCU8fPMOTJmAh+D++0D1HHJ++kPZnlk5E/ G51xj9dhfzr8ygCWBiKZffs1qiKPOG5YPmI37jLpcKmZBA3I5fRfL4PgKBHRigKSS5Bv umeUG5Mr7bNxcJr2xnKKSs34Fol3ggP2R7LFiIu8GpvaEgyz+/COjdWnpb8LPaRfbox/ lpOoX9/7BhMDKDbdHDkGEw+8bOTL3ZKYeO5Xapi/7TFlRxHBBSkWGRAsONGyUf2MNA9l gM5pH/iwMJOB5AZgCxKr4ZhGge94atlx+63h3MF+5lWpOpVPICCBXOm+aGWE6C13y8zx j8/w== 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 f13si5019403pgo.250.2018.03.16.08.57.54; Fri, 16 Mar 2018 08:58:08 -0700 (PDT) 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 S934560AbeCPP4Y (ORCPT + 99 others); Fri, 16 Mar 2018 11:56:24 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:59582 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753976AbeCPP4T (ORCPT ); Fri, 16 Mar 2018 11:56:19 -0400 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 1ewriG-0003NX-K1; Fri, 16 Mar 2018 23:56:12 +0800 Received: from herbert by gondobar with local (Exim 4.84_2) (envelope-from ) id 1ewriE-00020k-T2; Fri, 16 Mar 2018 23:56:10 +0800 Date: Fri, 16 Mar 2018 23:56:10 +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 v2] crypto: hash.h: Prevent use of req->result in ahash update Message-ID: <20180316155610.GG7095@gondor.apana.org.au> References: <7850c31c-8703-51fb-0710-3b4920935bfc@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7850c31c-8703-51fb-0710-3b4920935bfc@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 Wed, Mar 07, 2018 at 11:49:33AM +0100, Kamil Konieczny wrote: > Prevent improper use of req->result field in ahash update, init, export and > import functions in drivers code. A driver should use ahash request context > if it needs to save internal state. > > 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