Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1143059pxk; Fri, 4 Sep 2020 01:29:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3WbgBugki9c5D4nQhVZHZZ9ZEnpSVsioQ7hrlRWwZDmdinZ3L9yeKpScNDaAMIDKkcd8I X-Received: by 2002:a17:906:656:: with SMTP id t22mr6032234ejb.392.1599208168578; Fri, 04 Sep 2020 01:29:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599208168; cv=none; d=google.com; s=arc-20160816; b=NFqpbcOdpL1x+RMocf6Vi3X34+8OwfzBn8W9JC47UgIgCXnLVK7QPa/ELrMsvKmmoJ AbCScbZ6zH+YQbWuJ658WgPE8QY0dBqotQdj+5JKXpdxgmMm0EjS9gY7FNIKqsxrKiuF Ly/pbzQchqyXo/+S02Uk7bsPXvnnat0biUI5g6THqi3Ch6S50T0Tbr/0SkoYFanQceTV ATH5tY5i4pUb8IVNloUWioxp4vZ27IVjmuFCjHcbB9gihEMbGnnnWiLy3fja5tovNUHF YRXpeW0IvY1p2CcUwceZoL3FP6/Jb/EZjPQhp9MbLWsxBYaBxTVtsdj7xynS1OKUcPw9 UViA== 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; bh=hVkH6V51q0mUGbg25pilTB2ANsYRenIjMkye9ONbRXw=; b=wgZ3HnOhHRcHo0plyG1RcEouiG1+AuXf8Yp3gGuw4WlJKj1coQRTFLEVTLgSVto370 6agZG62Ymu7FEW9lXKsQDQ2EeXqxXK+Ru7t5SWSD7dAKBh84c5OcKneBM+E7ur/llvtM weBfpvRnIy3Hr+zGfOalBcFHOKAfOdMsXKghCWr8NYIp5VuT9WmClpIZxQ1aKlT2j0bF 9a8VGjYxQ+bIx2Enbf1BCBEP15DKO4+mYswmzIAkD6daJvJqHCJ+WiHWz9XgAN23pJGa 92YmibutBTQzMn1RltptOb3uzjTeMxaISNmTXjeIuEsnwAOd6MPq9maBjceOceWgEMO8 ZpWw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lk17si3605019ejb.188.2020.09.04.01.29.04; Fri, 04 Sep 2020 01:29:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729861AbgIDI2V (ORCPT + 99 others); Fri, 4 Sep 2020 04:28:21 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:42684 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729826AbgIDI2T (ORCPT ); Fri, 4 Sep 2020 04:28:19 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1kE74y-0001PS-Mt; Fri, 04 Sep 2020 18:28:17 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 04 Sep 2020 18:28:16 +1000 Date: Fri, 4 Sep 2020 18:28:16 +1000 From: Herbert Xu To: Denis Efremov Cc: linux-crypto@vger.kernel.org, Corentin Labbe , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/4] crypto: use kfree_sensitive() Message-ID: <20200904082816.GC1214@gondor.apana.org.au> References: <20200827064402.7130-1-efremov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200827064402.7130-1-efremov@linux.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Aug 27, 2020 at 09:43:58AM +0300, Denis Efremov wrote: > kfree_sensitive() is introduced in commit 453431a54934 > ("mm, treewide: rename kzfree() to kfree_sensitive()") and uses > memzero_explicit() internally. Thus, we can switch to this API > instead of open-coding memzero_explicit() && kfree(). > > Changes in v2: > - if (op->len) check removed > > Denis Efremov (4): > crypto: inside-secure - use kfree_sensitive() > crypto: amlogic - use kfree_sensitive() > crypto: sun8i-ce - use kfree_sensitive() > crypto: sun8i-ss - use kfree_sensitive() > > .../crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 15 +++------------ > .../crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 15 +++------------ > drivers/crypto/amlogic/amlogic-gxl-cipher.c | 10 ++-------- > drivers/crypto/inside-secure/safexcel_hash.c | 3 +-- > 4 files changed, 9 insertions(+), 34 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt