From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.66]) by mx.groups.io with SMTP id smtpd.web10.8350.1668766239193822677 for ; Fri, 18 Nov 2022 02:10:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=xWKacMbM; spf=pass (domain: arm.com, ip: 40.107.21.66, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9ECATvr0EQwaRz+K6HuV/VxVywkLmIcqAc3Z7w3gdgw=; b=xWKacMbMga85LB8USk33dzn7vEulQ4S5flMD8jxGioWbQPfbzkNcHRgWxUJ6WA9vmUR3HLvdFl08B8a4/bMW6Yau07To59/mk+8Di+XnzdWZmNDoheXctljldYqAFY4WTM9PoPe+3vtqKxO024GUOJNpy5raSlfVX/hfqz9P1jM= Received: from DU2P251CA0023.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:230::35) by GV1PR08MB7940.eurprd08.prod.outlook.com (2603:10a6:150:9f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.11; Fri, 18 Nov 2022 10:10:35 +0000 Received: from DBAEUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:230:cafe::38) by DU2P251CA0023.outlook.office365.com (2603:10a6:10:230::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.14 via Frontend Transport; Fri, 18 Nov 2022 10:10:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT047.mail.protection.outlook.com (100.127.143.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.8 via Frontend Transport; Fri, 18 Nov 2022 10:10:34 +0000 Received: ("Tessian outbound aeae1c7b66fd:v130"); Fri, 18 Nov 2022 10:10:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fcd70cf8e7660a55 X-CR-MTA-TID: 64aa7808 Received: from 87499336d7f4.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 62B1708D-CCAA-4E61-9B97-B3BE9BC60C99.1; Fri, 18 Nov 2022 10:10:27 +0000 Received: from EUR02-AM0-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 87499336d7f4.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 18 Nov 2022 10:10:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KUq+s2xx/6YZomxHYaHCaoLLNswvq2f4sLiUP9/XISkrCxB7TNjNHd+yrpnhD01fPm3V9/u9jpwJv+tNnmpxJsjrHPA3cOKM8i/Zy03sDKUAHDqHBdgNZZpS4/Ls8MCRWG1Dar7mkdCqDN4dOj5gRmkysfJLexBqf4PHvunNWV4amoSfON5wWNqu2lI8YEETNpvF3AwKejuogE1ZkRp5nFvHz90/tU6RVrTxsWhLQV5BIYlTI4uJOcDyEiTXmJnGIalPlYBDuvs/wI3NzzdbfAkN7vD3C1iLIweG9Wzey+6bLlMlgUPHKUiQZFl77y7fWFLkRwwYyCQHkI4Nzox28g== 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=9ECATvr0EQwaRz+K6HuV/VxVywkLmIcqAc3Z7w3gdgw=; b=jxB/DdFT+z6rrf3LUtMq9aew+VeNooug/wr/cqEO68un8ZWqx3naAu2ijK0uuYYVOftrnD7SmqY+YjC9qqgFLSUxBdPIHT+iVEJRzkmsvXj4qwZvhRHyw+i24nCcfPyMujR4EulNz/XCJrMPEUhoyqAVS6e1qfqVywB3l8pg382dlZX/E6p7jYbIfJMwH6cgD2dE7T3IE8ID5guXYzytVRuryOp7GNZlezuFz7w9xRvqOGlaw9pcthEGb/Z8/hUkGJ1ws10Q7HuGjKNKn25RtnwTos+ngMrxcPWRlZUI4qklY1G7WO6ma+C/QGbRRoCsiHG0wwhNYjEcywpTo3zxAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9ECATvr0EQwaRz+K6HuV/VxVywkLmIcqAc3Z7w3gdgw=; b=xWKacMbMga85LB8USk33dzn7vEulQ4S5flMD8jxGioWbQPfbzkNcHRgWxUJ6WA9vmUR3HLvdFl08B8a4/bMW6Yau07To59/mk+8Di+XnzdWZmNDoheXctljldYqAFY4WTM9PoPe+3vtqKxO024GUOJNpy5raSlfVX/hfqz9P1jM= Received: from AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) by AM8PR08MB5569.eurprd08.prod.outlook.com (2603:10a6:20b:1de::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Fri, 18 Nov 2022 10:10:24 +0000 Received: from AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::eca2:349c:4dbf:7f10]) by AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::eca2:349c:4dbf:7f10%8]) with mapi id 15.20.5834.009; Fri, 18 Nov 2022 10:10:24 +0000 From: "Sami Mujawar" To: Ard Biesheuvel , "devel@edk2.groups.io" , Pierre Gondois CC: Ard Biesheuvel , Liming Gao , Jiewen Yao , Jian J Wang , nd Subject: Re: [edk2-devel] [PATCH v2 1/1] SecurityPkg/RngDxe: Fix Rng algo selection for Arm Thread-Topic: [edk2-devel] [PATCH v2 1/1] SecurityPkg/RngDxe: Fix Rng algo selection for Arm Thread-Index: AQHY+cx4zjEBWGQYqk6Pv/EW8rNHMa5EdEuAgAAEDgA= Date: Fri, 18 Nov 2022 10:10:24 +0000 Message-ID: References: <20221116150149.2200368-1-Pierre.Gondois@arm.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.65.22091101 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB6806:EE_|AM8PR08MB5569:EE_|DBAEUR03FT047:EE_|GV1PR08MB7940:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a96091f-d9c6-4177-c97d-08dac94d21ef x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: oN8PntymcWJ0gprafMhOrrdd9VrblB1fOJKn0f6d6OMdnKdoOD0+/kFobUbh1jbKFWjJodeTzJOcGKdGFO9n6aqnH4CgBncHYG5dvafyUL2yNlhwCQ5at+SwXOIMZ/TM/VNNTX8oz9RoF8SGMFNluEiH4tuxB4IlXNN/OMwyoZnGejtNamUkxKKgwUOZftjlSCxGRt8qcueRJzTq9UC7pQy6jfKnt3yYb5wGBPJLe/6MTT7fYEBZlYU3iFEExcfW+C30Mutmc8OAgcLQzA/OALJltYcV5MyjNhIkf/GVPtqbkxd+j0UZzp+q9FUwlUWRAp8VWbBG2vx402vG68tU6a8oK+rEynDaOzqlgVGEDDlNcuoAGhUfH6cikX5vGV8cFtdauL4PZ+qFQLtdSUNMfgyj27OwO/TP4Csca2Mp36kDQ+VfAO1JuxYBkQx4eYJgitJKSGmZTeBh6aZVraZQzIeqi1cfHP/Ndox7nEuqr6w6eZ2MyHLRoXYuo6aMDzjnUStEEmBHoEa9AJTL2abUltbm37/Q1caJGz91i3Qtesyjkc2jwm4aV1wgA2XFTBV6B1npyzgh1g36vBlstD8wgnN+71WJBS3Bx4lz7+QIku52xJ3C/pESmMd4L1aUYVQtVcaT3oiUdTM0erqlJLATXsh0CjLIMNeBjsLjWuYJN5SoFyq28ot1RKkVPZrJjkGK0dtWQxLZB8vwX8TbS3a/0zl9SjPmZ4hY3jvSX4SziePtnN0zBhSFPojIAKgqJ9GbSEETmvoNjz5RkazpoyA6VZAuDNG5+m1WEjW11d8xZD8= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR08MB6806.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(366004)(396003)(39860400002)(346002)(451199015)(4326008)(64756008)(66476007)(66556008)(91956017)(66446008)(86362001)(8676002)(8936002)(66946007)(36756003)(76116006)(5660300002)(33656002)(2906002)(83380400001)(6512007)(478600001)(26005)(6506007)(71200400001)(186003)(2616005)(6486002)(966005)(316002)(6636002)(38070700005)(54906003)(15650500001)(122000001)(38100700002)(41300700001)(66899015)(110136005)(45980500001);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5569 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: d808b183-e7ec-4f33-ba3b-08dac94d1c2b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NGAOKFMwd7uwqZ89uh9nk2wRmZp0ubtNHT27JXHGGMrQ7ToEQgGN8DlQj8EmUKxBud7fxbVdhnksAdFs4iiLTa6Jctu5ICKoJC0GcwgpCLc+KVxsL+Cqu6pYcQ6jNiRMUVJXwxShp8lNmBK4w7M3efCmiq4YRSAYR0uzvrfbIj8BwoDyqfyYZs5AEPSoyL3H/PvR7ndBe5qgzTDMJyJPqjfu1ieIrOlKH8koz7q+Xh++XZYP70iD1E1BCGy28nZmoaO+xtTw+E3xINElcpXsKoNZ97RFJIo/lF96bxQADziX810ZiAD8JCmXeHMFPHdKse5PUSNXJ47o1oLkVloB+TarDpGefhYygeUryj8gR+0DZGvNavBcLBtIc64YWmN85/NWoVR7qNuZIt2Zbm8eqAVKHm1DZycgi/TcrzvlvQk1irV6dqMjIXFTVwfYO2BYowXCGgAI8EcY5IUNXZ1Uu7MO0i0rkfIU0EMdYSpiuNq9cq1nZfAVoB3uzcJM3suD69jFtbZholc/Hlwh04wUybmwOSP8xk6NjZzxkiiUqZhCrDdDw3qFGoRBjR3dV0Va+QxyZnxBIvYaESQzJA0UJCchnuwZJ1pqC8X5mMFWaLTEuys18regF0jVfGwcHaYpWolbkRAF8JjKPzVg/Wgux7JTPHkCUnhXO42ZrdtmV2dI0ilSd5HodiQekerLb/JxmG4GBax4ti9vuaOS0qfBOXGRKwnqCaqWh3I1s2IctsoOt3p2ekTIhVZBRPRF7Wk6roxXImJNpkc1VJKjLjQ9BQ== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(39860400002)(396003)(451199015)(46966006)(40470700004)(36840700001)(70586007)(66899015)(8676002)(70206006)(8936002)(15650500001)(40460700003)(33656002)(966005)(356005)(6486002)(82740400003)(40480700001)(478600001)(4326008)(41300700001)(5660300002)(2906002)(36756003)(54906003)(316002)(81166007)(110136005)(6636002)(82310400005)(83380400001)(186003)(86362001)(2616005)(47076005)(336012)(26005)(6512007)(6506007)(36860700001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2022 10:10:34.5217 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3a96091f-d9c6-4177-c97d-08dac94d21ef X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB7940 Content-Language: en-GB Content-Type: text/plain; charset="utf-8" Content-ID: <34B306E7C54B9F41BCF0145998309F35@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 SGkgQXJkLA0KDQpQbGVhc2UgZmluZCBteSByZXNwb25zZSBpbmxpbmUgbWFya2VkIFtTQU1JXS4N Cg0KUmVnYXJ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SA9PSBOVUxMKSkgew0KICAgID4gICAgICByZXR1cm4gRUZJX0lOVkFMSURf UEFSQU1FVEVSOw0KICAgID4gQEAgLTg2LDIxICs4NSwxMyBAQCBSbmdHZXRSTkcgKA0KICAgID4g ICAgICAvLw0KICAgID4gICAgICAvLyBVc2UgdGhlIGRlZmF1bHQgUk5HIGFsZ29yaXRobSBpZiBS TkdBbGdvcml0aG0gaXMgTlVMTC4NCiAgICA+ICAgICAgLy8NCiAgICA+IC0gICAgZm9yIChJbmRl eCA9IDA7IEluZGV4IDwgbUF2YWlsYWJsZUFsZ29BcnJheUNvdW50OyBJbmRleCsrKSB7DQogICAg PiAtICAgICAgaWYgKCFJc1plcm9HdWlkICgmbUF2YWlsYWJsZUFsZ29BcnJheVtJbmRleF0pKSB7 DQogICAgPiAtICAgICAgICBSTkdBbGdvcml0aG0gPSAmbUF2YWlsYWJsZUFsZ29BcnJheVtJbmRl eF07DQogICAgPiAtICAgICAgICBnb3RvIEZvdW5kQWxnbzsNCiAgICA+IC0gICAgICB9DQogICAg PiAtICAgIH0NCiAgICA+IC0NCiAgICA+IC0gICAgaWYgKEluZGV4ID09IG1BdmFpbGFibGVBbGdv QXJyYXlDb3VudCkgew0KICAgID4gLSAgICAgIC8vIE5vIGFsZ29yaXRobSBhdmFpbGFibGUuDQog ICAgPiAtICAgICAgQVNTRVJUIChJbmRleCAhPSBtQXZhaWxhYmxlQWxnb0FycmF5Q291bnQpOw0K ICAgID4gKyAgICBpZiAobUF2YWlsYWJsZUFsZ29BcnJheUNvdW50ICE9IDApIHsNCiAgICA+ICsg ICAgICBSTkdBbGdvcml0aG0gPSAmbUF2YWlsYWJsZUFsZ29BcnJheVswXTsNCiAgICA+ICsgICAg fSBlbHNlIHsNCiAgICA+ICAgICAgICByZXR1cm4gRUZJX0RFVklDRV9FUlJPUjsNCiAgICA+ICAg ICAgfQ0KICAgID4gICAgfQ0KICAgID4NCiAgICA+IC1Gb3VuZEFsZ286DQogICAgPiAgICBpZiAo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