Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1067771pxv; Fri, 16 Jul 2021 00:28:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdXEd36yPXZMKT/0v/sMlQ1AwzCCAstOEDOprRsFh4um4JquCpVpJ4mkqYpXWvQxT8f+r+ X-Received: by 2002:a02:2a07:: with SMTP id w7mr7805260jaw.96.1626420518605; Fri, 16 Jul 2021 00:28:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626420518; cv=none; d=google.com; s=arc-20160816; b=dabfMuR3pjm/ZyuXNWnj493YO4r+x25GQng+wqzusThIrU06vhIaCI/0+Qxx+9uamp oCVnTmKO/OOT8kBmWLMg5vWV6BfrxbOYyP9og8qGEYS3R5yDUSst87c+dtigvZwMkNCS aK6QRKStRZqAEEVHD+9oM2bWBSoNh/jnIVaHkQipTHeAZkG9fVTTerwaWKBIdJTmb4HV rVvV7ztueQnp5cW5vX3qPd6SDh74wLtuSjbcUYBqUklJQiQbr/b5sbhRkYnu+iVbXjJ+ sPA2TcDn0Rqd4jt+CfhA4ERXs+7EVhkHy8ZhdaN695f32tGXojrGenWau8PmRIx+g8F9 ij6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=RcGlf3Lyn166ZGoWQKdGxN0Iq4qlNZMO5uBcFo0Is/E=; b=mFkGveh9CWU9ERPqjLJIJ55iWfc4xwwhhj1D5eP1cxJYf32zutu3KicsYwBI4HVtpI 3BTsYb96Zkxt1X1vdLTcZ1nIZeqXfcSWvB7LbzFTiKuUm3iieqpheAips9APpfGoQLdk j+9Sy5ceNkqkN2XngZNzzvJ/kceorAFLQJ3Q75CkYWh+YOYOWDZRx0cKzWy6zqRoHuab CXoe5/a7/GL+fyb+ENSGV/ONEMmq/EXBLPRtbFS+pLJnFNOMolcwUxbL9CSWz9juvEM0 VwuRVmyFDxAFY/cW3R1vplIK12q/KupkuS23qpunWqb0JvXSSth1PSp+uEsoWOhfBZsr VMvw== 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 z12si10431068iow.36.2021.07.16.00.28.26; Fri, 16 Jul 2021 00:28:38 -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 S231737AbhGPHbL (ORCPT + 99 others); Fri, 16 Jul 2021 03:31:11 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:51396 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235808AbhGPHbL (ORCPT ); Fri, 16 Jul 2021 03:31:11 -0400 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> 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) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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