Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1913115ybl; Thu, 30 Jan 2020 08:12:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwRIupY6l3bcuRA2L6/BfaAByYPXyRuuVf++ZELeRRT8QtAperlc0pDze9NjcPY6MgGzYqP X-Received: by 2002:a05:6808:4cc:: with SMTP id a12mr3429789oie.115.1580400754709; Thu, 30 Jan 2020 08:12:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580400754; cv=none; d=google.com; s=arc-20160816; b=UGYJpciVVSGXmvoR1elrmi7UPC9obHW6t4NzsNMGe6lzk2xrWV8V8H+fGKjzW2u7Ks x/riYXcIWPrr1ztuyn1EpOeH1jnL069C3BKOVFjOD56uukxl2Yv3Ckeku5xtkiG6e2sG 8yOt9fhgDrI/yHVj6QbVa3tBauqdOw+r65Vn6C/PiUTu0dERoRsRawDXRO1/Dmwiigsu RqhvbVvO21ozFkGyIz7piXqunNVulyjoDs3hfihiNldvIOYwk9oACMK30Cw8RQCkRyGR J8PGBWCClNK0CT1rjhKuserKC7jsk+UMyNcgkU01xy7gm5E/CiPHFs4i4Q/MQI9uo+CW RNag== 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=FX3UEU+v1TWwDJQFXUx8bDiwb2J/ztZjumuuUaCpbjI=; b=bgMiPdrzH663jwucwjtwN3ft8igMCtHkZudD/5gbxLXfVypadN4HvjvbKVROqFQAhv eU7A6LnKlBu/TOSEXNEZE1h5nz0pkuxxoZ1Q1KzCBOdOZ1ijNRI3jQStZaSiBeWKe4fT jY/j7kLNnWxbIIsoQoxoMKUxI7qnkcOxDzoNFfqIaRZlCauiG1aZW3H0GrFSgvfbeFaq 3KbIma20suWulh64jYXQPYCL3IdvqkwQQG0pp79sPTHTGp6affl1zvSK/GKLSy/aR33q cXO3xcMIigoWrorIZHcY2bHV+nPPoGUnKNER7KYnZLMuUN0FJMqmnQdt2BhUStro/+ZP vxkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f17si3388361otq.96.2020.01.30.08.12.22; Thu, 30 Jan 2020 08:12:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727328AbgA3QLR (ORCPT + 99 others); Thu, 30 Jan 2020 11:11:17 -0500 Received: from lhrrgout.huawei.com ([185.176.76.210]:2331 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727107AbgA3QLQ (ORCPT ); Thu, 30 Jan 2020 11:11:16 -0500 Received: from lhreml707-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id BAA1C81DE1A523018B18; Thu, 30 Jan 2020 16:11:14 +0000 (GMT) Received: from fraeml701-chm.china.huawei.com (10.206.15.50) by lhreml707-cah.china.huawei.com (10.201.108.48) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 30 Jan 2020 16:11:13 +0000 Received: from fraeml714-chm.china.huawei.com (10.206.15.33) by fraeml701-chm.china.huawei.com (10.206.15.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 30 Jan 2020 17:11:13 +0100 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.1713.004; Thu, 30 Jan 2020 17:11:13 +0100 From: Roberto Sassu To: Jarkko Sakkinen , "zohar@linux.ibm.com" , "james.bottomley@hansenpartnership.com" , "linux-integrity@vger.kernel.org" CC: "linux-security-module@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Silviu Vlasceanu Subject: RE: [PATCH 1/8] tpm: initialize crypto_id of allocated_banks to HASH_ALGO__LAST Thread-Topic: [PATCH 1/8] tpm: initialize crypto_id of allocated_banks to HASH_ALGO__LAST Thread-Index: AQHV1TQUqrSCCRsJMUCD8Unf5gKCoagC2LQAgACMVSA= Date: Thu, 30 Jan 2020 16:11:12 +0000 Message-ID: <8c15cf66708a4d38916b8ca39f26b5f6@huawei.com> References: <20200127170443.21538-1-roberto.sassu@huawei.com> <20200127170443.21538-2-roberto.sassu@huawei.com> <50afe1f50297b02af52621b6738ffff0c24f1bdf.camel@linux.intel.com> In-Reply-To: <50afe1f50297b02af52621b6738ffff0c24f1bdf.camel@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.220.96.108] 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKYXJra28gU2Fra2luZW4gW21h aWx0bzpqYXJra28uc2Fra2luZW5AbGludXguaW50ZWwuY29tXQ0KPiBTZW50OiBUaHVyc2RheSwg SmFudWFyeSAzMCwgMjAyMCA5OjQ4IEFNDQo+IFRvOiBSb2JlcnRvIFNhc3N1IDxyb2JlcnRvLnNh c3N1QGh1YXdlaS5jb20+OyB6b2hhckBsaW51eC5pYm0uY29tOw0KPiBqYW1lcy5ib3R0b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