From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from deadmen.hmeau.com (helcar.hmeau.com [216.24.177.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4ED6B177 for ; Fri, 16 Jul 2021 08:00:06 +0000 (UTC) Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1m4IGO-0004rw-KJ; Fri, 16 Jul 2021 15:28:00 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1m4IGF-0001z9-SW; Fri, 16 Jul 2021 15:27:51 +0800 Date: Fri, 16 Jul 2021 15:27:51 +0800 From: Herbert Xu To: Jason Wang Cc: clabbe.montjoie@gmail.com, davem@davemloft.net, mripard@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, colin.king@canonical.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: sun8i-ss - Use kfree_sensitive Message-ID: <20210716072751.GA7595@gondor.apana.org.au> References: <20210701132200.31583-1-wangborong@cdjrlc.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210701132200.31583-1-wangborong@cdjrlc.com> User-Agent: Mutt/1.10.1 (2018-07-13) On Thu, Jul 01, 2021 at 09:22:00PM +0800, Jason Wang wrote: > The kfree_sensitive is a kernel API to clear sensitive information > that should not be leaked to other future users of the same memory > objects and free the memory. Its function is the same as the > combination of memzero_explicit and kfree. Thus, we can replace the > combination APIs with the single kfree_sensitive API. > > Signed-off-by: Jason Wang > --- > drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) I don't know what happened but this patch didn't make it into patchwork. Could you please check and resubmit? Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt