From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 2485E740045 for ; Fri, 14 Jun 2024 13:32:33 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=r/pxoimuEwV6TTH+56FPFaf3OpFCYjAr3yL1HwRSyKQ=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1718371953; v=1; b=SLN/FWzTa/7FHLwqxGxmN9hc9GPs09iB34ehv+lJwPy/5P84xGHbEfWYFx76abmRdCveJP42 GqyHJMyzJ5ICQ7jyKgB9esWUvjZd6Y2DbNJNxCuM3CzOQDSG4r1WefxCBo8DDoV+/b5LUNS4plj zjW6xX/JAa+7RwFzxtegtKu+2BoTWtG3jFdu4RGRv3MOyKRyhNskr9pM8ouURpll5IZV8vFIsKY SMpUyQrfS4KcAG7+oSszTEW8UAaEEB88pm6ylJegzF0T3zzaU/hutU7uWle4OzdPKB1ns2xApJ3 +dFzXz7x8o4l0syIWhjA4KYwBhVXjbhrXPGztpq9fgs/Q== X-Received: by 127.0.0.2 with SMTP id GghZYY7687511xzkg6NPEI4O; Fri, 14 Jun 2024 06:32:32 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by mx.groups.io with SMTP id smtpd.web11.11716.1718371951892732645 for ; Fri, 14 Jun 2024 06:32:32 -0700 X-CSE-ConnectionGUID: ExqjfDD+TJ2ctHR/2ncaMA== X-CSE-MsgGUID: J036wh9yQc+KuWITHMdQvQ== X-IronPort-AV: E=McAfee;i="6700,10204,11103"; a="25893371" X-IronPort-AV: E=Sophos;i="6.08,237,1712646000"; d="scan'208";a="25893371" X-Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2024 06:32:31 -0700 X-CSE-ConnectionGUID: wwQ6HAxmSEaiH0297KOCSw== X-CSE-MsgGUID: EAmvoi4xQiWYEggWqKpLLQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,237,1712646000"; d="scan'208";a="40384517" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmviesa006.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 14 Jun 2024 06:32:32 -0700 X-Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 14 Jun 2024 06:32:31 -0700 X-Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 14 Jun 2024 06:32:30 -0700 X-Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Fri, 14 Jun 2024 06:32:30 -0700 X-Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.177) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 14 Jun 2024 06:32:30 -0700 X-Received: from SJ1PR11MB6227.namprd11.prod.outlook.com (2603:10b6:a03:45a::10) by MW3PR11MB4604.namprd11.prod.outlook.com (2603:10b6:303:2f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.24; Fri, 14 Jun 2024 13:32:23 +0000 X-Received: from SJ1PR11MB6227.namprd11.prod.outlook.com ([fe80::c4da:83f1:f7be:e307]) by SJ1PR11MB6227.namprd11.prod.outlook.com ([fe80::c4da:83f1:f7be:e307%4]) with mapi id 15.20.7633.036; Fri, 14 Jun 2024 13:32:23 +0000 From: "Li, Yi" To: Gerd Hoffmann , "devel@edk2.groups.io" CC: "Hou, Wenxing" , "Yao, Jiewen" , "Kinney, Michael D" , Pedro Falcato , Ard Biesheuvel Subject: Re: [edk2-devel] CryptoPkg host test broken due to smoketest for RDRAND Thread-Topic: [edk2-devel] CryptoPkg host test broken due to smoketest for RDRAND Thread-Index: Adq+Jb7093oqeuwpSsG41P6wAdVV4wAIZ+kAAAXvM3A= Date: Fri, 14 Jun 2024 13:32:22 +0000 Message-ID: References: <3kj5r4awgurnnlqm67pvpumo4rwwhounzgynydtdohs7cif4qw@edfavg3ztcaq> In-Reply-To: <3kj5r4awgurnnlqm67pvpumo4rwwhounzgynydtdohs7cif4qw@edfavg3ztcaq> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ1PR11MB6227:EE_|MW3PR11MB4604:EE_ x-ms-office365-filtering-correlation-id: bc9c7bfa-91a3-4d73-9ca7-08dc8c766c4c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?65RT3c6lyMvLVvLRF5VpjkvaIMyDRPFWT5n39kND0rXydMVhpHGJOS+iQnUw?= =?us-ascii?Q?/LNKgng45Hfp75R55quLXBX/yLBGrQKfEFIc19HL7qdbxP25j9ZEhnHmGgyv?= =?us-ascii?Q?ojFo5GwEu7rwC64Z5ZM0I1bWZJbUDFI0rbrko6Q3mELX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ERYv1cyLGHEbRW5vKXtcpdxLxqvwmlyB28A/Y4LvHoUcizgau?= =?us-ascii?Q?vbC06F/4oAf3bVo3/FKq+fGMDzybGbPuz+b/ygZZX7J+5N+bsfGtJK0vx15/?= =?us-ascii?Q?1HdQQjihrElOVT01Sml7W95UWwpZtq1ZpI6a7gHg/PWOyek0Sf2uRLfkRTXi?= =?us-ascii?Q?9p7cGKfn8qUnQwLw4WJSQAZ1xyGClf3aHD+F0xbr5GfoZi7Y+syGxvVqkGIf?= =?us-ascii?Q?ZhuXzdcpiQ98Vuguz6V/2SLX0KDrkiDLYc5yzoPUNEDvSxVSuYdozcMwxJEX?= =?us-ascii?Q?PkHTxaAmGRl1Lr1MVNYBLAreI8mOdy36gMcWZSM4qOeqbPtvQREvAJi3S5x4?= =?us-ascii?Q?rRKwJnqIxHABmOlNGyd40POT0lQV?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?aFMMvHtzIjullBEkiXn94vZV2PCQnSsnVnqTenflJYcei7lgvWcDA8R4zjn+?= =?us-ascii?Q?BC5Molv7iBc6DLw33dgkFZMzUZNbmi+tKPbegZTnatfI+7c3asT6+AYwyoRt?= =?us-ascii?Q?Qno6aaATE2w/+IV56SDQr/qd1lzhNWKqMCGYKGRHLhAwaMYgIFG3jmlsSMLw?= =?us-ascii?Q?nvewYvT6IcWZAXB5USLPJzUDxD75ZXm2x35Yw3sI2mLoVvPU+sHpD3rGmqsk?= =?us-ascii?Q?YBHnKeWZ6H0ziLdSyMaLUwqVjTl4PcEa1H4a0OpIV6O/aOGmLznZJc7S/0XH?= =?us-ascii?Q?OHJ46ZKHaRyQFmURDKrEq74C1NVVzyq2+ICFnCTJfCsukvk4qTss36t/dtb1?= =?us-ascii?Q?duzrWzQtKhAntfEyjLldxXCjFyjLlJ0gucQlx0ViKcSjnOit1l3QY7u2NEDm?= =?us-ascii?Q?6DxSs7p0xonzlWlDUFiHOUNXDowxLmLSAaU8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2Z1IG+/W4moi5hPHAxgD7mX8ofC5SmiQUxP3SI89biKeVp5kyT8Ey3P5720?= =?us-ascii?Q?EI4lVrDytKw0i8d9659i7kKCLDfzKqun8+8quq6IBwmJgr8lcDnhq82RUAWR?= =?us-ascii?Q?xMlXnkhQqjlcEgJxTCU5rzJzSVYYzLg+JrnZN8ffct3YJxQvcPFgNPeADa5R?= =?us-ascii?Q?mFxm9E/vQdJv+I9cIPdDTzh0Ic6jWQ7UOnvrr//NaKrVODk2QFYAjJsvgfzZ?= =?us-ascii?Q?cwGzlDuunRri6yIdlYM=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ1PR11MB6227.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc9c7bfa-91a3-4d73-9ca7-08dc8c766c4c X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2024 13:32:23.0134 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BRFopqhg8nPHgX5pL15DjLQSCVFkR3wUCAc1iTxa+oyE8mjbqo66UHFC6TXSQcCQfLKfH8WntebboTAbvsYWXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4604 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Fri, 14 Jun 2024 06:32:32 -0700 Resent-From: yi1.li@intel.com Reply-To: devel@edk2.groups.io,yi1.li@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: tNWUMh0c8QHsAed6p3eI42lkx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="SLN/FWzT"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Approved, appreciate your quick response. Thanks, Yi=20 -----Original Message----- From: Gerd Hoffmann =20 Sent: Friday, June 14, 2024 6:41 PM To: devel@edk2.groups.io; Li, Yi1 Cc: Hou, Wenxing ; Yao, Jiewen ; Kinney, Michael D ; Pedro Falcato ; Ard Biesheuvel Subject: Re: [edk2-devel] CryptoPkg host test broken due to smoketest for R= DRAND On Fri, Jun 14, 2024 at 07:07:41AM GMT, Li, Yi wrote: > All crypto host tests which consumed randlib broken due to: > https://github.com/tianocore/edk2/pull/5714 > Not sure why this issue not reported by CI when merge this PR. >=20 > The reason is that the ```BaseRngLibConstructor``` of rnglib is not calle= d in host test, so ```mRdRandSupported``` is not enabled. > Then the Crypto API calls ```GetRandomNumber*``` will fail. > GetRandomNumber64 ( > OUT UINT64 *Rand > ) > { > ...... > if (!ArchIsRngSupported ()) { > return FALSE; > } >=20 > Is there a way to let unit test host to call the constructors correctly? https://github.com/tianocore/edk2/pull/5775 take care, Gerd -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119572): https://edk2.groups.io/g/devel/message/119572 Mute This Topic: https://groups.io/mt/106666288/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-