Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp486467pxa; Thu, 27 Aug 2020 07:42:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxg3iwxv8vRJjPK7VP3new8EtGwybD9DTUVqVk8+s9Gnxmt6qFp25yrWl8KTkveUvkK5X0q X-Received: by 2002:aa7:d8cc:: with SMTP id k12mr20564704eds.195.1598539334529; Thu, 27 Aug 2020 07:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598539334; cv=none; d=google.com; s=arc-20160816; b=Xdv75fgE0+fyxfPOEG4nwpSOfWGBK1N4qBPtvLwvnqRfdudyTOkMQKX1S56yNUXkjI L8NrSTh4Y5eRRhRb09E5OWVgMZbB9MWRxLjiE65o5JyK1cRfhtkzOdqXMRNhKhKGfVnj xHUkpdnC/tD/8RrG0WDStBqL9zgOXDFQS5vY9SVULyGtHgMwbJ/TDPa1XbYj7mMXOep5 N9XKvutK9899pCIAPQ6TTWzYO4xntucULQ0BFI6SivroveYwMYUbFaxfyIkJgSgnbwNs FHFnkRBwSbr8puUCGx557WWTlYHxIWrRUmkAW6i8GZV/vSEE1hRPIKX1+S+GVNbYge21 pd0Q== 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=crqoUDoVI2GahOjG/uInXq2IOADeVeHTS/KrzK3bGe8=; b=waVsqbK0FCglcgt7sjPe1rNCs74SNJB+j51OOwLR+SIE43To3iJI56SXAA/+YCap12 Zyi2Tikb7GljwhEHD85mwpaAEAa5RLqNiaicJljpeK41+z2nToCnTVSiBiSVahxUR9Zo jru8nhuogPaJgssl+r0wUWeS7a40nL9KwxilOTcFQT6FvZ4Yf9DcpeKNE/cZkpz0E1f0 yPY/aPYfdVBb0xSfj8doByipWKE1N+RcCIxq5ZZbCHi1WmS0gymRNI6oiufG0asMzGoF wQCFsJugjz/SE3r428vxWyM2LRC5mz6LZxpPuFld5Yn0Vxe++wMS8pIu1ZOXI9fxUUuI jo4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UG3mzNuX; 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 bh4si1497674ejb.629.2020.08.27.07.41.43; Thu, 27 Aug 2020 07:42:14 -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=UG3mzNuX; 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 S1728013AbgH0Oli (ORCPT + 99 others); Thu, 27 Aug 2020 10:41:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727999AbgH0OlT (ORCPT ); Thu, 27 Aug 2020 10:41:19 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60150C061264; Thu, 27 Aug 2020 07:41:18 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id a5so5631824wrm.6; Thu, 27 Aug 2020 07:41:18 -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=crqoUDoVI2GahOjG/uInXq2IOADeVeHTS/KrzK3bGe8=; b=UG3mzNuXy4XJ6CQBJLWvFDGyPYOZdBE6IHM/880S3XB7KGehVvGelv0JkAbELqG2x+ FMToy3GlRs6YVPjgxtUhJu91Viv99ZNSkjPaBuh1Dw2OiC/h+MTWbWHv3gmzp726By3n RtZ/UV8+nI+U4qm0PFr1GXzxQXun5kPGy0ToueNNFW5sYAmn45dcZuEANVMukTlOKqJi KR1Pyf07kja156AI3INm+X9tSagbbB3JMQtMJEaN0pWVreM4lt5DeL/VoJ1p5elOY/1Q xdyQCXiBBcts6z2h/falIUgYkf0N6y6i3o96Njs4LtG/SkJREWULaU9FAXO9w762w/0/ oubA== 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=crqoUDoVI2GahOjG/uInXq2IOADeVeHTS/KrzK3bGe8=; b=maCgWvQ4p/YshvNTpZHSkpFsiPqXiQkU5ZodZG+xPm8dos1LT+TGEYUZq6OTDZf1gt 8K9jmhWxqCRkzzgD/mEVPg3N/TuBmdveWyLUMgw6LpUljW7x2nlRw9jxWK030Z5M7Vsf 50ixu8pRUhBYKu23Fy2KuKlEEc3tEIdQB2kdym7vEoyFOz2KuJbbMWMqwnjXjOk/Tb7Z 9mYba3HtRf8OQmfBDrfIRpPtMSsuvJ7nFrkVrReEmiQIBpKZ0hSXIX04UrEZTFzCg0hv D0wEguKbbqA9zTGBlJOFaepG/Ar9UkliFVYh89ccAKRDgEIX9UDZUidf1tl0pnK9oA1E UqZA== X-Gm-Message-State: AOAM533WUyS8rKTJdxY8yt0Qf3xkyPakbsuEedRBxjBY+dY2t6yW9kf3 /1/c3UdnozF1HIom47RwiDPixiHKjGs= X-Received: by 2002:adf:cf10:: with SMTP id o16mr19130873wrj.380.1598539277151; Thu, 27 Aug 2020 07:41:17 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id f6sm7417864wme.32.2020.08.27.07.41.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2020 07:41:16 -0700 (PDT) Date: Thu, 27 Aug 2020 16:41:14 +0200 From: Corentin Labbe To: Denis Efremov Cc: linux-crypto@vger.kernel.org, Herbert Xu , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/4] crypto: sun8i-ss - use kfree_sensitive() Message-ID: <20200827144114.GB11280@Red> References: <20200827064402.7130-1-efremov@linux.com> <20200827064402.7130-5-efremov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200827064402.7130-5-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:02AM +0300, Denis Efremov wrote: > Use kfree_sensitive() instead of open-coding it. > > Signed-off-by: Denis Efremov > --- > .../crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 15 +++------------ > 1 file changed, 3 insertions(+), 12 deletions(-) > Acked-by: Corentin Labbe Tested-by: Corentin Labbe Thanks