Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2954303ybz; Mon, 27 Apr 2020 07:32:15 -0700 (PDT) X-Google-Smtp-Source: APiQypJBTQZhKodqOJrBmid9WTMIfWyVwfL4XegrToBS+not2Q3R68k7TlbenPSKrzUbZ2Glf4LU X-Received: by 2002:aa7:db41:: with SMTP id n1mr18877238edt.314.1587997935090; Mon, 27 Apr 2020 07:32:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587997935; cv=none; d=google.com; s=arc-20160816; b=VuZGyooAf3DtW31RHlUIGSjv1ONjW+FVbYCBVQSDDV1LQu09IDJK4pR2jkoag+JWN/ RoDfC6THUj/OTSLnHDHJlSEwVltUmzBH80kb6JzfsJXVH3QVR1HOI9vhBZ548uqB07af 7bgOfjNDOLqZ7w4BG0yjVHLdKVokciE/m3FAXfVu2LRoZsk1EWH05VGt6pc1SX1lwOIz lynGyvh2qDWZvg9c2xRCtPr4EW2C1lCOIUATOpTiFKDpz7HeRTtkTVVplxfMOEuNR9JG +yPQvSeb9agtlq+YkuHBkc/U+uZ9vxd9bP/LQWOp5pua5dawia9XH61yg922eSSPwaPF 8NDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=HMF2asvAlEz2RAuBeYRt4DwUrtXlTCW+2M23WzNBsSw=; b=n+11pmD/xWZCBVapezmgoyIJiqVuRAFOWFYk0jPqARCNxCv/je2GR8Ho7Pa/E1MHEO omdsKCStslvwKEPjw6u3Zg/jbOAofNtalftpDkVrHxDkojhDh0P01bUQuhZGxrjU4Fxq and6MaVPtxCdIuPmL0kyqCrRAEhz7mmPgMl00NeY14ETzgxIeIGjQLTu7lAhpYgk+usV /jZPPdnkeyEv9JjTw/hj2UFaTuLa5k+titCnml9/E/cX/LKnILs9MSvnDP66RVKkX3DQ P3Nfj5pzpbBaDxsLfzVbnXJh6SKbY0z2RUsdkv4X8qS2ggelvZuVyzdL+Xq/h/QbEVb5 DdaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si7423423eds.265.2020.04.27.07.31.40; Mon, 27 Apr 2020 07:32:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727961AbgD0OaC (ORCPT + 99 others); Mon, 27 Apr 2020 10:30:02 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:57702 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727077AbgD0OaC (ORCPT ); Mon, 27 Apr 2020 10:30:02 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-23-AKHUs2ulObCffgz2Mb-tuA-1; Mon, 27 Apr 2020 15:28:25 +0100 X-MC-Unique: AKHUs2ulObCffgz2Mb-tuA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 27 Apr 2020 15:28:24 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Mon, 27 Apr 2020 15:28:24 +0100 From: David Laight To: 'Roberto Sassu' , "zohar@linux.ibm.com" , "rgoldwyn@suse.de" CC: "linux-integrity@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Silviu Vlasceanu , Krzysztof Struczynski , "stable@vger.kernel.org" Subject: RE: [PATCH v2 3/6] ima: Fix ima digest hash table key calculation Thread-Topic: [PATCH v2 3/6] ima: Fix ima digest hash table key calculation Thread-Index: AQHWHH8SDZUC+XMi6UOqF9nBthnXX6iMzGEggAAOugCAACgi8A== Date: Mon, 27 Apr 2020 14:28:24 +0000 Message-ID: <5786ad88cd184e5791bc285d5cac6ecc@AcuMS.aculab.com> References: <20200427102900.18887-1-roberto.sassu@huawei.com> <20200427102900.18887-3-roberto.sassu@huawei.com> <84ecd8f2576849b29876448df66824fc@AcuMS.aculab.com> <90e19242fd8445cf93728c0946c03c19@huawei.com> In-Reply-To: <90e19242fd8445cf93728c0946c03c19@huawei.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogUm9iZXJ0byBTYXNzdQ0KPiBTZW50OiAyNyBBcHJpbCAyMDIwIDEzOjUxDQouLi4NCj4g PiA+IC1zdGF0aWMgaW5saW5lIHVuc2lnbmVkIGxvbmcgaW1hX2hhc2hfa2V5KHU4ICpkaWdlc3Qp DQo+ID4gPiArc3RhdGljIGlubGluZSB1bnNpZ25lZCBpbnQgaW1hX2hhc2hfa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