Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3803915ybz; Tue, 28 Apr 2020 00:21:51 -0700 (PDT) X-Google-Smtp-Source: APiQypL2niffhRGwFhnl38m1jxtNbNGpl3fh1yWb2ObPBtGwDgAagklyic5IMXbC3rk6E9oI9g8Y X-Received: by 2002:a17:907:2168:: with SMTP id rl8mr22321972ejb.360.1588058511120; Tue, 28 Apr 2020 00:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588058511; cv=none; d=google.com; s=arc-20160816; b=JaoHWgeD98wSpWFVUU2ijVPOIXV2/Xj/oUPU0jmA2S9UUk9XjkIJsgc7lxkUH2YpNE 8RERjPysqhHELcQn5CHhpoglJ9ICJ+UJwIhdABzNBqKtO2/0GkrktKQeWMbE/7U0zOM6 hVJ8NkFbRvvLAi9gxHrdDkgr+rOq7AzHc29ZFBKhbwxY/f8TKXog+vYo80Vp5GhsJdGg ZJ3DHSGFg1NZWbMS6VcaqxMV5WA7oxgASPF6AHeMX05uGxSfRzUPjWuOsow2uP+d/Mar XslREUgpr1C0aPOVrGw3c8xXrl69mWjMh/fAjbgr3iQM7R/UWSwoqEtakEz6t4ziDrZU QupA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=i7u+bvjYWb1yA8zV1XLXi/Q7pMS3LDvCGJKc7hsaepY=; b=jOqV+DIgXiw/7seudL1Os/l/edZgJ5Gn57NeK/JgrllUvvHzPNvBdJU8KyleH4/j7Z hqsRk2c2L3QgiUUY+CzttPK4hpAiHRkXrJcuClRGLkXltV5lhLdGUWfadkFwSlLwkNCq s5rol8yLoGkmAOfFwcwgMPV2QTTn3Vr6QwNIfUROcKzOrhpDObWHQMZFUNTP5eeEwsZ/ 8q6SiRRUR9FSS38xLEM48mdIJvsfXSE0zgWCo6/09bl3xWW3nqkeVx2iDLpqD8XDzvGj eWEEncCwCfWMNS4J912jR3LCAM7ig5t4p8q+SZy4ukjWSLcVYje3HherW39TGnYueHc9 ASZQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si1323109ejd.263.2020.04.28.00.21.27; Tue, 28 Apr 2020 00:21:51 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726355AbgD1HUC (ORCPT + 99 others); Tue, 28 Apr 2020 03:20:02 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:2116 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726256AbgD1HUC (ORCPT ); Tue, 28 Apr 2020 03:20:02 -0400 Received: from lhreml723-chm.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 63BC56160F22BE4F602B; Tue, 28 Apr 2020 08:20:00 +0100 (IST) Received: from fraeml705-chm.china.huawei.com (10.206.15.54) by lhreml723-chm.china.huawei.com (10.201.108.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1913.5; Tue, 28 Apr 2020 08:19:59 +0100 Received: from fraeml714-chm.china.huawei.com (10.206.15.33) by fraeml705-chm.china.huawei.com (10.206.15.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Tue, 28 Apr 2020 09:19:59 +0200 Received: from fraeml714-chm.china.huawei.com ([10.206.15.33]) by fraeml714-chm.china.huawei.com ([10.206.15.33]) with mapi id 15.01.1913.007; Tue, 28 Apr 2020 09:19:59 +0200 From: Roberto Sassu To: David Laight , "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: AQHWHH8K4uf8EKnxYkeHh4WY3Jdlg6iMq38AgAA0TFCAAAXnAIABO/Wg Date: Tue, 28 Apr 2020 07:19:59 +0000 Message-ID: References: <20200427102900.18887-1-roberto.sassu@huawei.com> <20200427102900.18887-3-roberto.sassu@huawei.com> <84ecd8f2576849b29876448df66824fc@AcuMS.aculab.com> <90e19242fd8445cf93728c0946c03c19@huawei.com> <5786ad88cd184e5791bc285d5cac6ecc@AcuMS.aculab.com> In-Reply-To: <5786ad88cd184e5791bc285d5cac6ecc@AcuMS.aculab.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.19.165] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBMYWlnaHQgW21haWx0 bzpEYXZpZC5MYWlnaHRAQUNVTEFCLkNPTV0NCj4gU2VudDogTW9uZGF5LCBBcHJpbCAyNywgMjAy MCA0OjI4IFBNDQo+IFRvOiBSb2JlcnRvIFNhc3N1IDxyb2JlcnRvLnNhc3N1QGh1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