Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1930558pxb; Fri, 25 Mar 2022 08:09:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxc0w0RlQMjPPQ4Qho7uqnUZ5zET38SPfTn4DmmVxy5pC6hsJNdEp8I1fHwwiK4142CaVe6 X-Received: by 2002:a17:90b:1e01:b0:1c6:cabc:b2d4 with SMTP id pg1-20020a17090b1e0100b001c6cabcb2d4mr13371697pjb.64.1648220940961; Fri, 25 Mar 2022 08:09:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648220940; cv=pass; d=google.com; s=arc-20160816; b=wQgvP4ItKZCAp9fs1Y43jW8vBF80lQLsi/N/ZAskDDHC60XE+Nem3TprOfPZNEsrit Q7zAa1aKNM1AjpAg6dXGCweqy0X+mlWqWSJRyk8MIgHj2Ay0jOY8kJC+NMZlRtIazbL0 7xBvqgpfAbttRo9B5QB2b6tnqael3dK6uSW30raV2X36z0qFsoqpk14rulkIXpO2j+V5 s1s/jGrpD0l8AxbSGlFVnliCg/JTmMFK5QVCya4Juwh57ZAwwWoRDrN9szsDmUDz03yJ 6HkVaUVeMWZRF/1zFLBFIe2IJ8ERviKQPcTPrAr3sXNOrrNdUaWPQXoE1o6nd1qt5lZq MqAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=0ZcaqZGVh2TNHMSSL3wFxgCk7fWmf/RT5c0S1rmas+4=; b=gzpwFBEUHnBd+RTEkcs+B0JNNN9bxA6TTwysN18m+wR2MCGbKCERpe1EbXvnYaqT7z EQA+PR1K2u/K4QPDLvHVra/Y8NV5OYIFvDRqm0ihGxudsHeTQHTIW3j4Lxqpc5NTb6YS 1VH6GK5fFxzd7+7LzGZxb1C5NBV2mIJ7tO8TMgalRUUodk/N0up7/U0jK6JMXYiMpUsh aMXL4X7TH4DZhKatieZfVBCpGt2YqHgAytOayBHWWH7YNQ6iLvN0OrCuefom95vrNEYA VNyXincak3qCRCOxfqaFX7w6DKe4+hRAdf5hPHsAjY0Tv/XZxq43tW0qATbD6V/NSRxh +S3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="qxY/LXFD"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e2-20020a17090301c200b00153b2d16409si2906210plh.17.2022.03.25.08.08.45; Fri, 25 Mar 2022 08:09:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="qxY/LXFD"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349173AbiCXJ4v (ORCPT + 99 others); Thu, 24 Mar 2022 05:56:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239661AbiCXJ4t (ORCPT ); Thu, 24 Mar 2022 05:56:49 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2049.outbound.protection.outlook.com [40.107.22.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9990C5C863; Thu, 24 Mar 2022 02:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=El6U4AwIASCJYb+eVnzQggMF9LpD22Hr1S05nBMUi14UiJsuPIdqsjOv+ycxbCko5L01JuobKdPJpaD4OKUm5TpoEMLX2zfulgPvMv3vWghR3tG6MIdrzuggXOnSkBG4aCX0ZOs0Wbw9fNWzTGh6AhFCIH2kyFgmaMFCtd2Vh592vTtFBb4onVnSVkLxszt7uFz74Dfs084LBIqPgU/wrkh35gsmXzaW/VXmzRgsbvRU2Ej9pQbGurx1gFe+qSIRxHuY7gTqtr8Yvn6Ggkip3Q1Lfuve6eUHOA4oUgRzvsdzH3oP3KgvY9IvxT4/blLrxhHNoJOq8KSpIRTUh87dbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0ZcaqZGVh2TNHMSSL3wFxgCk7fWmf/RT5c0S1rmas+4=; b=aWeKZSHKd46Gj4rbRdJkKBgi8nBMecbrMMzx0f4HUUumXRMPYEZJvOt+CL5lJ07mtM2es7ukXXvD1wtHn4P2hor3k2q8thMg8OYwQ6/3kS1GXkhw+5jbtNH0YXjid2iNTCXDWv6DEpw6zC9LY6bRCsVKd4Er/dB1y8zeVDeGOsqsHZxb4uV/VLVk7oVdCueP50DHn0dVGNeyqopjj2eRIhElQ/kmNd5Sq2Qo705YpswpPwdhL0JZz7seejVyexkBfeXN1h0pg11+6MAQnaclZy9v5HTQwxFDufXIXSmTifeky6eEPjsc05PIPeyELIHe/nx0zo5iA1+IWyA30GGBeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0ZcaqZGVh2TNHMSSL3wFxgCk7fWmf/RT5c0S1rmas+4=; b=qxY/LXFDXkbCTKFEtqiC7Q0933IVoCnsppm+jh6eeVTX9g0t/e9xuqRO1smsElmjIAJsyVRWEBajoBl4/Cb2wzzvxKcgZkI+dJrxyIiYGBfGDYq1zHZAoowz9E3GCPp3nF5Sn1MD5l9WTwyy2WLSCvTFwGWrtvjegvGXCY15hJI= Received: from DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) by AM9PR04MB8602.eurprd04.prod.outlook.com (2603:10a6:20b:439::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.17; Thu, 24 Mar 2022 09:55:13 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::143:fed1:d645:f60b]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::143:fed1:d645:f60b%7]) with mapi id 15.20.5102.018; Thu, 24 Mar 2022 09:55:13 +0000 From: Pankaj Gupta To: Ahmad Fatoum , Horia Geanta , Herbert Xu , "David S. Miller" CC: "kernel@pengutronix.de" , David Gstir , "tharvey@gateworks.com" , Matthias Schiffer , James Bottomley , Jarkko Sakkinen , Mimi Zohar , David Howells , James Morris , Eric Biggers , "Serge E. Hallyn" , Jan Luebbe , Richard Weinberger , Franck Lenormand , Sumit Garg , "linux-integrity@vger.kernel.org" , "keyrings@vger.kernel.org" , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-security-module@vger.kernel.org" Subject: RE: [EXT] [PATCH v6 3/4] crypto: caam - add in-kernel interface for blob generator Thread-Topic: [EXT] [PATCH v6 3/4] crypto: caam - add in-kernel interface for blob generator Thread-Index: AQHYOVUNOyYgdbVIskOFW8XkCJYEX6zOQs5w Date: Thu, 24 Mar 2022 09:55:13 +0000 Message-ID: References: <20220316164335.1720255-1-a.fatoum@pengutronix.de> <20220316164335.1720255-4-a.fatoum@pengutronix.de> In-Reply-To: <20220316164335.1720255-4-a.fatoum@pengutronix.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e555e2c6-de26-48ab-c572-08da0d7c6477 x-ms-traffictypediagnostic: AM9PR04MB8602:EE_ x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +YzrvaW28UfmP/f+1lozt1dAPCKA5IUNCxbn8mYjseQOxjA5E4XNj7fFl35KxMlf7zSTq1wQEyZA8yO1bw3KDe0HmRCfC5Km3YrE/qiftolaPZ2B/9+RwkcSUJ/M5Z76TNR78oICf/y1ZFmiOmDpHyXTVujW0TPwpFDMdJdxSVR+PytO949TT1WQaUFoJ1dHY0/N5R7XY0C988QPDyqaJMWX+j/JeaSfJ9s609vEmjssvd183G/HINBM3eydfapYgMMAwf++6uL9TovuZsb79d+QHnJ9Zs5nZ/QUZqK+aw3oqjZBtTgubgwLJTCDHU0IrpBpXJKkshsLvJ22RRLOcdJ4+Cc6rhAjKy9waAxO5slMxWog9v27dMk4DPgmohpKGULWfVjhfjsBtaI7VcOt5Fl6r7SdDaLpcd8bSF4JeiqN9NSQk5AEECIH4c49iZM/SOlq1rCDWL0SxBAvGLgad80BZArKW8lV4u/dCN31uBJq3gXtpGVaGFahYF6s269wq9PlXBj42QOub4Mpz7GQI/Qw7lPcfyX43Pzfj5GjnhtXEhMcZ2SIO9qmUZw3U6axscogzczCerDjDsC6romM5I6qAi/41W7mwOA7zszDDZSBe+JH8qKs9lNKkHgwHRlqEu5irnGz2WqwCbSjO7huWfioEdBiQ2rNkGtMivBCWZA0AT62KQ6vTGzeBoJ8Tk5yG/yLiQiWzoT4M1OkmM3kaA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8630.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(83380400001)(86362001)(122000001)(55016003)(508600001)(110136005)(71200400001)(38100700002)(316002)(54906003)(66476007)(66446008)(186003)(4326008)(76116006)(66946007)(53546011)(6506007)(55236004)(8676002)(2906002)(26005)(7696005)(38070700005)(7416002)(8936002)(52536014)(9686003)(44832011)(30864003)(5660300002)(33656002)(66556008)(64756008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?R2xNYTJ1eUo5YzBVb1J0b3lQVTAzcEhaZUxpVFhNSWY5RHhXWE5PWnhqS3l4?= =?utf-8?B?Z0EzY3pjYWdFelhydEZRMHI3K00vUmx1R2dNcG9TazQ2VVpNcnJjeVJaQWtZ?= =?utf-8?B?NW5ZL2owWmh2Y3hwbEhBWWR6bFEzWGlnY3ptU2J5bUNzQmR1OGtXaUg5c2pw?= =?utf-8?B?UVZSa1NsaGxXOG5WTXo0c1NtVU4ySEYrdFhETGhSZG8vN0hoaHZIV1QvUVMv?= =?utf-8?B?R0pYVEVJNHQvY1R3eDJCZlZYSi80bERUS1ZOU2hzYVdPSkZNWlAzM0JUUW45?= =?utf-8?B?cXVPSHRYaVdXZEZYSXludHB0Tm40TVVRTzM2N3JQMUpDc0NhMFl1K09KT0ZZ?= =?utf-8?B?UDVpbW50RXJxVVh6dXlMNU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GV1l2TTI3bUR0Wit2Rno3SmpYcmtLck5id3Ara0dWYXY0RnFLT3hMcnVT?= =?utf-8?B?TndBZDhKclhOYzcyUkJHTURMSnRXSkw1K0JMS2ZVZW93UlgyS3ZzRzRFNnRr?= =?utf-8?B?UXl0UjNCQk94UlFyT1BSMzNqV1hOR1E0MVlvSy9LZDBxU2tWSFNjUW8vNVVM?= =?utf-8?B?YUZoa29qeGpzblRoQm5mamtrTUVpa3NHUGdKVSt6LzJ2bnFWblZaZmxUVFlE?= =?utf-8?B?dzFpZGFTK1l5Y1Z0QUlRT1ZhZldKS2JNZVBTbU5MVEV5ZmQ2UU5QMWRxN045?= =?utf-8?B?cU1xYkZFWmRkU0tsYklVd3FaYUZqR0ZuQWZ4OEdRSmY1Y3psTEVtVU5HRHM0?= =?utf-8?B?MGpFMkVQaDlHZUtERE1nWW9OZ1luS25EZmI1UnVzS3lZelRsYXlKN09US1NQ?= =?utf-8?B?Z0JrbUNxZzJjUlIyenBOdG9LMHl5blBMd0s0QzhIejAwTmhIT2RlWVROYlZw?= =?utf-8?B?RktBUm5KZ3lkTytJMXMvekIyZ0tqZllvbFZBSjNNQTQwVkMzUFZ5TWs5R0xs?= =?utf-8?B?dno5aUdvd041eVNuek1XNkNmQmlKa3NTV3dTRzllRTM1UFIxajh2djJJckp1?= =?utf-8?B?Y2Q0SnZUTjJDUHZaVUx2c0JxMFBuREhkU1hScEtSRjIvbFJCRmNGRFBaVUVt?= =?utf-8?Q?xEnkVnJ/s22+/V820+23jNnnmEHAkbfi?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e555e2c6-de26-48ab-c572-08da0d7c6477 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Mar 2022 09:55:13.8242 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: a7AFAlq9UW2wHOC3lh2xM09cL3FXxieK+ixBd7RMcrvlG4ymkij8NCwqrZIffvaF1VMgqKSO96aZn9wyGdWf9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8602 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQWhtYWQsDQoNClBsZWFzZSBmaW5kIHRoZSBjb21tZW50cyBpbi1saW5lLg0KDQpSZWdhcmRz DQpQYW5rYWoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBaG1hZCBG YXRvdW0gPGEuZmF0b3VtQHBlbmd1dHJvbml4LmRlPg0KPiBTZW50OiBXZWRuZXNkYXksIE1hcmNo IDE2LCAyMDIyIDEwOjE0IFBNDQo+IFRvOiBIb3JpYSBHZWFudGEgPGhvcmlhLmdlYW50YUBueHAu Y29tPjsgUGFua2FqIEd1cHRhDQo+IDxwYW5rYWouZ3VwdGFAbnhwLmNvbT47IEhlcmJlcnQgWHUg PGhlcmJlcnRAZ29uZG9yLmFwYW5hLm9yZy5hdT47DQo+IERhdmlkIFMuIE1pbGxlciA8ZGF2ZW1A ZGF2ZW1sb2Z0Lm5ldD4NCj4gQ2M6IGtlcm5lbEBwZW5ndXRyb25peC5kZTs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lu cHV0IERNQSBidWZmZXJcbiIpOw0KPiArICAgICAgICAgICAgICAgcmV0ID0gLUVOT01FTTsNCj4g KyAgICAgICAgICAgICAgIGdvdG8gb3V0X2ZyZWU7DQo+ICsgICAgICAgfQ0KPiArDQo+ICsgICAg ICAgZG1hX291dCA9IGRtYV9tYXBfc2luZ2xlKGpyZGV2LCBvdXRwdXQsIG91dF9sZW4sDQo+IERN QV9GUk9NX0RFVklDRSk7DQo+ICsgICAgICAgaWYgKGRtYV9tYXBwaW5nX2Vycm9yKGpyZGV2LCBk bWFfb3V0KSkgew0KPiArICAgICAgICAgICAgICAgZGV2X2VycihqcmRldiwgInVuYWJsZSB0byBt YXAgb3V0cHV0IERNQSBidWZmZXJcbiIpOw0KPiArICAgICAgICAgICAgICAgcmV0ID0gLUVOT01F TTsNCj4gKyAgICAgICAgICAgICAgIGdvdG8gb3V0X3VubWFwX2luOw0KPiArICAgICAgIH0NCj4g Kw0KPiArICAgICAgIC8qDQo+ICsgICAgICAgICogQSBkYXRhIGJsb2IgaXMgZW5jcnlwdGVkIHVz aW5nIGEgYmxvYiBrZXkgKEJLKTsgYSByYW5kb20gbnVtYmVyLg0KPiArICAgICAgICAqIFRoZSBC SyBpcyB1c2VkIGFzIGFuIEFFUy1DQ00ga2V5LiBUaGUgaW5pdGlhbCBibG9jayAoQjApIGFuZCB0 aGUNCj4gKyAgICAgICAgKiBpbml0aWFsIGNvdW50ZXIgKEN0cjApIGFyZSBnZW5lcmF0ZWQgYXV0 b21hdGljYWxseSBhbmQgc3RvcmVkIGluDQo+ICsgICAgICAgICogQ2xhc3MgMSBDb250ZXh0IERX b3JkcyAwKzErMiszLiBUaGUgcmFuZG9tIEJLIGlzIHN0b3JlZCBpbiB0aGUNCj4gKyAgICAgICAg KiBDbGFzcyAxIEtleSBSZWdpc3Rlci4gT3BlcmF0aW9uIE1vZGUgaXMgc2V0IHRvIEFFUy1DQ00u DQo+ICsgICAgICAgICovDQo+ICsNCj4gKyAgICAgICBpbml0X2pvYl9kZXNjKGRlc2MsIDApOw0K PiArICAgICAgIGFwcGVuZF9rZXlfYXNfaW1tKGRlc2MsIGtleW1vZCwga2V5bW9kX2xlbiwga2V5 bW9kX2xlbiwNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgICBDTEFTU18yIHwgS0VZX0RFU1Rf Q0xBU1NfUkVHKTsNCj4gKyAgICAgICBhcHBlbmRfc2VxX2luX3B0cl9pbnRsZW4oZGVzYywgZG1h X2luLCBpbl9sZW4sIDApOw0KPiArICAgICAgIGFwcGVuZF9zZXFfb3V0X3B0cl9pbnRsZW4oZGVz YywgZG1hX291dCwgb3V0X2xlbiwgMCk7DQo+ICsgICAgICAgYXBwZW5kX29wZXJhdGlvbihkZXNj LCBvcCk7DQo+ICsNCj4gKyAgICAgICBwcmludF9oZXhfZHVtcF9kZWJ1ZygiZGF0YUAiX19zdHJp bmdpZnkoX19MSU5FX18pIjogIiwNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICBEVU1Q X1BSRUZJWF9BRERSRVNTLCAxNiwgMSwgaW5wdXQsDQo+ICsgICAgICAgICAgICAgICAgICAgICAg ICAgICAgaW5fbGVuLCBmYWxzZSk7DQo+ICsgICAgICAgcHJpbnRfaGV4X2R1bXBfZGVidWcoImpv YmRlc2NAIl9fc3RyaW5naWZ5KF9fTElORV9fKSI6ICIsDQo+ICsgICAgICAgICAgICAgICAgICAg ICAgICAgICAgRFVNUF9QUkVGSVhfQUREUkVTUywgMTYsIDEsIGRlc2MsDQo+ICsgICAgICAgICAg ICAgICAgICAgICAgICAgICAgZGVzY19ieXRlcyhkZXNjKSwgZmFsc2UpOw0KPiArDQo+ICsgICAg ICAgdGVzdHJlcy5lcnIgPSAwOw0KPiArICAgICAgIGluaXRfY29tcGxldGlvbigmdGVzdHJlcy5j b21wbGV0aW9uKTsNCj4gKw0KPiArICAgICAgIHJldCA9IGNhYW1fanJfZW5xdWV1ZShqcmRldiwg ZGVzYywgY2FhbV9ibG9iX2pvY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