Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp486818pxa; Thu, 27 Aug 2020 07:42:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywOfrVrKMvxbCHihXT0ROiexAcvg7JJ/EK5QT4WVi1NvhZ8Rv3O48ErAhur+BuNX5qzZ9D X-Received: by 2002:aa7:ce81:: with SMTP id y1mr6490834edv.51.1598539363543; Thu, 27 Aug 2020 07:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598539363; cv=none; d=google.com; s=arc-20160816; b=tNJQNBoj6/lM5nICJdO+vdH5X5OiLn2KKHTushPk2vJS88GPw2zS64HFCtZvPz+YnQ e+oJcFXKXAu7HVMVJD6DujmGw4IcZOKcGCP0hpcDiLWFLoIwzOJRzKF0VpYeI+uPpm+p lh3DzKIm0vmgZndyWO2yoEMWeCrZF9r3C9+jujuPQjZulcSN34qP485WRcUoCPcyKltm tPsz3nDtTNQ/sRHuim2IxZHfRBEqm8YvFeOAbVB0EJUzV52cz4NOnkOvuTC0OmdS0UGk ZMyPZ3abaIHr5CZh0TJtxnWzPyEmkeDmsX6wfJ5fVAyK9BDyuBj2G95HfJz7ltyPwNG4 MvDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=MeVXhKzNMW9u6vseTSVuEbBXrSmw96cHMTkiXl0zqYk=; b=vylUYVumRzx/29TKLAxGYj7bZ50yP8suQpyw3cdremDczmLi6EGPdDGXj9kwrQZfaY d3pupFm6FeQ0pfodGIXh8G9Sy+HR8rTNiHcx95NAWsI/Yz8c0qetPEzreHUQTsbTqg00 1+8AH0bg/SUeVnAkjxWGplLzkg0wJzzwCAbl/bH4zmlcAuOgXswaU7P4riWd2+CzcDj6 xDZcoE/VaJnfDRt77uJK5ihMPX7sS1xgTcbYwK0RFKlZkMNyZy2oIjpRQUIoDRteuGZ2 vAc/VURrbuG6IkmvxRaGwke5JdaNKcOruACxtoAp9ZSgnkEViXpA2dooZMMuELRYj0SF CJXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QmGw8VNy; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp1si2142213ejc.38.2020.08.27.07.42.18; Thu, 27 Aug 2020 07:42:43 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QmGw8VNy; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727878AbgH0Ok7 (ORCPT + 99 others); Thu, 27 Aug 2020 10:40:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726794AbgH0Okz (ORCPT ); Thu, 27 Aug 2020 10:40:55 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC927C061264; Thu, 27 Aug 2020 07:40:54 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id u18so5406398wmc.3; Thu, 27 Aug 2020 07:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=MeVXhKzNMW9u6vseTSVuEbBXrSmw96cHMTkiXl0zqYk=; b=QmGw8VNypziYny1x6qbmDt84qfty89cZyYsrUjtRAuSRP5M/VCKgMiC+oTbb/8aE87 OuNI6V4qbubmZ3FkH1fvdus7AZQho5I/g3IwKAcS5nstXl/NXqdB1U9KujPKqaAd1ebu s7vjpIP7FyOPywA+u9p1uI9e94q9Ep8VxCiswfMmHZmRnljo9HOypzixVuZHln5PTy6m 3P6+9NGbLpESIODEf+NgICOhPvS8fvb/NASrDzfjmmQE3Bq2O2NTOE0m5SnL330kjPMU TIjTBkxZiOR7NV9YZy2LXds3eY7OP2MtDggn2laQxl3OC4M7b1ioX9Mtkt/XtLcUtnH+ MNSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=MeVXhKzNMW9u6vseTSVuEbBXrSmw96cHMTkiXl0zqYk=; b=gbFw9iQ3NwazNyXvfibeJTzx0dPqQAe1DERsPA0QeyCP65ubGntYtwSswr+GQTy7Vf BuxgIzsj+dbI5sLiwSzLthErXMsZJhKTN8k0JFWzH45xRA7maphlGef/RFCaF71NE62b +Li0wxE2ZpqJ2uCfHJ+nSBDW9X0rfz55XuJ07WrHkE/59/v7uEuPd8MvhwV6h6BP3xXY swD6x2oEksQNH7Law3sos3pWxPoQZidq0a4W9mAXHAUFhK+W/qgTFNHrB2+O60gTzzSb /E7/La157UE56L9ZaiKDybSc7UAeNnpKjeJEyeojFO/UARxPmaVotjkyhqD4QoRgDW+h xTCA== X-Gm-Message-State: AOAM533YcusJttBauOmLhFutY1Yk0vwyDJkE/KPT6mwdgsS1E5Grh/Rc KR+BCoGlyVdnv9BUsdadDX1XEgwHjHk= X-Received: by 2002:a7b:ce86:: with SMTP id q6mr9564666wmj.163.1598539253489; Thu, 27 Aug 2020 07:40:53 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id 92sm6953073wra.19.2020.08.27.07.40.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2020 07:40:52 -0700 (PDT) Date: Thu, 27 Aug 2020 16:40:51 +0200 From: Corentin Labbe To: Denis Efremov Cc: linux-crypto@vger.kernel.org, Herbert Xu , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/4] crypto: sun8i-ce - use kfree_sensitive() Message-ID: <20200827144051.GA11280@Red> References: <20200827064402.7130-1-efremov@linux.com> <20200827064402.7130-4-efremov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200827064402.7130-4-efremov@linux.com> 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:44:01AM +0300, Denis Efremov wrote: > Use kfree_sensitive() instead of open-coding it. > > Signed-off-by: Denis Efremov > --- > .../crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 15 +++------------ > 1 file changed, 3 insertions(+), 12 deletions(-) > Acked-by: Corentin Labbe Tested-by: Corentin Labbe Thanks