Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp450900pxk; Wed, 2 Sep 2020 06:13:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHvQKhhJ1g+ZE5HQViP7+0DTvM+vurUn4e5KqiqzL3k/ZiJeIo3A140mxFfixIo1oQBey9 X-Received: by 2002:aa7:c987:: with SMTP id c7mr3457153edt.385.1599052415294; Wed, 02 Sep 2020 06:13:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599052415; cv=none; d=google.com; s=arc-20160816; b=fJ2jRnf5h6hZAX+C0qW/khcYBXGBdRtkUK8J0x4o8yxX3piduc1fUzhYYVzIuHlhix /Z3RBiZ+NakQWwVsSDq/DZhMK4285rLZQ4w7TvUsMZlYDZnOdFJ5gOR1nKmQCAlbIL0X OLyBS4CfljarHUNLYqmt8L4YoZrQWNqCaWCWL9rL6GgmMofz4b+fAFfDdMCoj5z+qGH+ JlAOodGr69J34ZogLm6NznBaY01nRAcF0IyPciuXiO6keK+VohmcgJeK9pv6wS4+cMUz U9bVFm4Kqr+iA/kD7dp+qSTzdr1CUwT7NR2774dGMV061iW+52rdfxnvsOqxuqTU4lB1 LLGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:mime-version:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=QoE6cNMCdGODw15UUVUr8dNgr7/w9QJmtrheZdMHyN8=; b=UrMHnuOIUbY4tT1Clj6YvIAqyQV676846YcLB190XBXYX2jEqNUYT9b693LVE0NSl1 WNtFLcfZKIE8frTJ62wihzL5ydoyB4l9FUmSPwUl9a8Cf4zHsiUdx9j/Y54jVxAEzngY Kp2EYB3VNR7ZRvz9npeQVm4YT+dKRBmCkXwMPpcuFO2q/Ehl32V6tyuwEHw42RON4eGw FZKcDXDw07b/HvCK3hGclf33wixC6Tg1ixTHQkJwFMogngRut4/Lqk62OyjiNAVA/b19 pAnb1nbDLccknE5ld0+gMmkVOjIZGgsYfyWuN8oNSa3lplFMUALYwAM+FPqbfq4CyLOQ NYuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rambus.com header.s=mimecast20161209 header.b="Pid85ti/"; 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 c4si2501739edw.41.2020.09.02.06.13.00; Wed, 02 Sep 2020 06:13:35 -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=@rambus.com header.s=mimecast20161209 header.b="Pid85ti/"; 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 S1726821AbgIBNMt (ORCPT + 99 others); Wed, 2 Sep 2020 09:12:49 -0400 Received: from us-smtp-delivery-148.mimecast.com ([63.128.21.148]:21700 "EHLO us-smtp-delivery-148.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727058AbgIBNKy (ORCPT ); Wed, 2 Sep 2020 09:10:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rambus.com; s=mimecast20161209; t=1599052236; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QoE6cNMCdGODw15UUVUr8dNgr7/w9QJmtrheZdMHyN8=; b=Pid85ti/khgVpsmF3lInokonnqth3Gm2l2WxY8PoFKKJDrjEmiNdnyJkh4fARRGnknUtzu x9a9SOTAwmSIQ60s7LPE1tYwItMvP7yG0xl7WfIUnjS6NTddCxQ/0BCaSUx430FdvLgzYf b4oX+OtpZgdsCAn6c40/NslEpxODkiI= Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2175.outbound.protection.outlook.com [104.47.58.175]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-486-091kDmb5MhiY4gxy327PbA-1; Wed, 02 Sep 2020 09:10:34 -0400 X-MC-Unique: 091kDmb5MhiY4gxy327PbA-1 Received: from CY4PR0401MB3652.namprd04.prod.outlook.com (2603:10b6:910:8a::27) by CY4PR0401MB3508.namprd04.prod.outlook.com (2603:10b6:910:95::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.25; Wed, 2 Sep 2020 13:10:32 +0000 Received: from CY4PR0401MB3652.namprd04.prod.outlook.com ([fe80::5156:a625:2439:9efe]) by CY4PR0401MB3652.namprd04.prod.outlook.com ([fe80::5156:a625:2439:9efe%6]) with mapi id 15.20.3348.015; Wed, 2 Sep 2020 13:10:32 +0000 From: "Van Leeuwen, Pascal" To: Denis Efremov , "linux-crypto@vger.kernel.org" CC: Corentin Labbe , Herbert Xu , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v2 1/4] crypto: inside-secure - use kfree_sensitive() Thread-Topic: [PATCH v2 1/4] crypto: inside-secure - use kfree_sensitive() Thread-Index: AQHWfD2wL6/f5wfOgEK5sXo0DwsOjKlVWorw Date: Wed, 2 Sep 2020 13:10:31 +0000 Message-ID: References: <20200827064402.7130-1-efremov@linux.com> <20200827064402.7130-2-efremov@linux.com> In-Reply-To: <20200827064402.7130-2-efremov@linux.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [159.100.118.162] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9da10e7b-f27b-420d-f5cb-08d84f419274 x-ms-traffictypediagnostic: CY4PR0401MB3508: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OXoWZX1p0wcoI/4bS+CCx9i8H813UlF972eFM6mIukH9mW4dj8UAGS7Q8HCAESuxLBM/NolSKQglGQPX7aKmDl9ejTk5AYO/oqVX1Cf65fS9nyvDS2gk4wqo2BhyLijDriLqXb0Wo4f5GL46uahb3AKOJN812v69Oeh2vO8TmIx5hRi/rKTlAK0D4Mue9GZkmtHRUjj+he9o6LL2Ox6x7GeA+M/SUNt4aBWI+AVz8GZPBHO/Km4EbAWS36UIvMrKHTYpfnmDoeokoVJy3rJDqDjPXGpLDfzWee8dihBd44afWQ4trTaVhN2l+E5Bk+SCGLgHWU2EBYoGGFROD7SEjg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR0401MB3652.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(346002)(39850400004)(366004)(136003)(396003)(376002)(9686003)(5660300002)(478600001)(86362001)(52536014)(4326008)(186003)(76116006)(8676002)(53546011)(64756008)(71200400001)(33656002)(66476007)(66556008)(7696005)(66946007)(26005)(8936002)(2906002)(83380400001)(6506007)(55016002)(316002)(54906003)(110136005)(66446008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: Tv5TcstombEZBeDFnlF0He9H+Rj2+nlk1BmcJj6oTxdJOYYLyQn1T8tjBXUhDLAsp/sOubZ6/f8dA1jHuNPQlI6PWjhyIrzxmRSBYi9Nssjjf7eQbwoo65r6VtveLi/Nh4Ma6zoOZRsSkDGTnwyB4gpQsmZVTvDsL3h6cjjsSCflOqLQg2dh9aP4uM0bnzn/y7SxJkoLDZ92zWYfGWEEjBQ73lv/KLxF7sU0zSJQinARBhXPUdWJXsZqHutDblesr0djvQcKxOhUG/dMtlh5/7zSsyLDVALIaqHJ0AvDha2amU9ruqG40rzLzVlkSOvWt3dsT+ypCFcB2po3o32ui21ly3BcijafdK4m5K/pZiYjyvHa0IK+1x1ywl8hm8U5QVcEsSBI4UlB0KW0J3c1d/+rwXHuLv1AUjquXCF+RnwbH2l8CtozNmohxBb+qIJrcFhAGRPVkjKCNn4uiUP0LWZPFhib9XqnLYa6t4U8C3Nz183O+mfYcd1anVZUnx4URlihEaqWCXZL7d6W1Am50Db9xkPqXIqq4gcDrALBRyai3FOFRdNjI3qRpDTMNGujiPF7AMz5cmN1FEnIreP4J+mz9dDaG5LgedT+uq6lL0CUnuIaghW9/IV6g/Nr/BNmhfBQA3U/+YQOnvATbMyDhQ== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: rambus.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR0401MB3652.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9da10e7b-f27b-420d-f5cb-08d84f419274 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2020 13:10:32.0243 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bd0ba799-c2b9-413c-9c56-5d1731c4827c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4cFqLWXDwAorN0D4vHyzGJ5IbuN/39RCFbv11peUf1V26cO7/aVpaEmou9qhDxeE++ciK+9UZM4H0G37PGTHlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0401MB3508 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA48A24 smtp.mailfrom=pvanleeuwen@rambus.com X-Mimecast-Spam-Score: 0.003 X-Mimecast-Originator: rambus.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc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