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.67]) by mx.groups.io with SMTP id smtpd.web11.772.1633110300258318650 for ; Fri, 01 Oct 2021 10:45:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=Ky3Qw8T3; spf=pass (domain: arm.com, ip: 40.107.21.67, mailfrom: joey.gouly@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=3W0gaMyCivS7/lrc4JVnsHF+7Yf5BO84/zqEvLKSW14=; b=Ky3Qw8T398Lf7EEQPKNYxT3QOiZpeWGmgxhD2zYv8eots+b6wsvjA5jlBdWX8Oc28uCvZM7PYEEwRulwAjjijPddp6+oX76sdpCQP63OvoEi7mk5/OxhQ7XXEb/ss8CMkOCOVivP08wW1T1P9ArHALhTCJqGjkNIwNIizN4qw1o= Received: from AM5PR0602CA0020.eurprd06.prod.outlook.com (2603:10a6:203:a3::30) by VI1PR0801MB1663.eurprd08.prod.outlook.com (2603:10a6:800:4f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.13; Fri, 1 Oct 2021 17:44:56 +0000 Received: from AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::d4) by AM5PR0602CA0020.outlook.office365.com (2603:10a6:203:a3::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.13 via Frontend Transport; Fri, 1 Oct 2021 17:44:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT024.mail.protection.outlook.com (10.152.16.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Fri, 1 Oct 2021 17:44:56 +0000 Received: ("Tessian outbound ab2dc3678fa9:v103"); Fri, 01 Oct 2021 17:44:55 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 246422c9826d04e5 X-CR-MTA-TID: 64aa7808 Received: from a1f815fde18c.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3EE5C52B-235A-4D70-A88C-3846A5ABB608.1; Fri, 01 Oct 2021 17:44:44 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a1f815fde18c.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 01 Oct 2021 17:44:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qqz7p5nYz6CH6PxB85YGY6wsgHK1SvE5rWDgjgqwEoQfgwjHYoSFaaWjGNOiuznFb9FeQ5aftglRpIinJlAkohLkvVNYAjtJR9uFsNGymco/QO9XAUCJdvC4sF13pXtlce66onQ9wkc08e14C9zZh6MCvUoptyOEZnjSHDF2Ji3/2BSJAcUSU+iNzQbg0hTKuIOMpyrt5CRflBqlDhul2KajSuNeyInHonwlDggzqIHOe67/QUYUDIqu8O48BwoIzvqd2Bghtgda8wCWPIaLqg81t56ypcYZ4AwljLC2X7y+BlwsLDkjhXexmAEg6l1ChVnsUwtoHUd5LSoaAxuBew== 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=3W0gaMyCivS7/lrc4JVnsHF+7Yf5BO84/zqEvLKSW14=; b=Y4fxiz+h9q5zlqrIViARNWX77QDPPRTDrHql5VuzU6HglV0jMsocwKMp9ypyYMhjZvZ3z67j1yEgZjpNH1wIx2aLa8Zbk8u7sp7GShWkCM+xpVebOM/SZw0jzIWVk12s6ggNbYUPUNdpyWW0TQjMwx+DKRq4en0k47cdjFf/2mwBWGILN4I74q6PzaP4/3L30O2hsU6eK4CME/oEwvaesTCTFDwPdXlgW2cEsCnVIXC4l5wnarLt4lJR16lQ9e/kRyxtngZeRXWYY8+lKdItuzsy8bgcpAtfVOMuSCFtJfrMYRL5Wi4ARXXJjZOeBI5j+ru9MZ2ybC58WLLEdPrIug== 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=3W0gaMyCivS7/lrc4JVnsHF+7Yf5BO84/zqEvLKSW14=; b=Ky3Qw8T398Lf7EEQPKNYxT3QOiZpeWGmgxhD2zYv8eots+b6wsvjA5jlBdWX8Oc28uCvZM7PYEEwRulwAjjijPddp6+oX76sdpCQP63OvoEi7mk5/OxhQ7XXEb/ss8CMkOCOVivP08wW1T1P9ArHALhTCJqGjkNIwNIizN4qw1o= Received: from DB8PR08MB5433.eurprd08.prod.outlook.com (2603:10a6:10:118::13) by DBBPR08MB6010.eurprd08.prod.outlook.com (2603:10a6:10:20a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.15; Fri, 1 Oct 2021 17:44:42 +0000 Received: from DB8PR08MB5433.eurprd08.prod.outlook.com ([fe80::951e:f504:6b46:28a3]) by DB8PR08MB5433.eurprd08.prod.outlook.com ([fe80::951e:f504:6b46:28a3%9]) with mapi id 15.20.4566.019; Fri, 1 Oct 2021 17:44:41 +0000 From: "Joey Gouly" To: "devel@edk2.groups.io" , Sami Mujawar Subject: Re: [edk2-devel] [PATCH edk2-platforms v1 2/2] Platform/ARM/Juno: Add RNG support using FW-TRNG interface Thread-Topic: [edk2-devel] [PATCH edk2-platforms v1 2/2] Platform/ARM/Juno: Add RNG support using FW-TRNG interface Thread-Index: AQHXthSffrzWc4GiTUKwOeYXjLQG86u+auNU Date: Fri, 1 Oct 2021 17:44:39 +0000 Message-ID: References: <20210930160035.35688-1-sami.mujawar@arm.com> <20210930160035.35688-3-sami.mujawar@arm.com> In-Reply-To: <20210930160035.35688-3-sami.mujawar@arm.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 578041d1-c46b-31b6-53b0-d7042afcd7a4 Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 8fdec136-67c9-47c2-c407-08d985032e98 x-ms-traffictypediagnostic: DBBPR08MB6010:|VI1PR0801MB1663: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7691;OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: qWON8cke5M99aDAskYMntuuyhGR1VCn+BrHDnL321oe0874eA7Lz0K1nE+vmuNNaRL75M2PICfVxWQQmm25H+J3slxSLcS5sUNuuH1GLeqw7nA48aTkK7Uk3ND9fvOKpvTZhUhq/oqcbd67rMZW3/xnOESO5kuNlmg9dgQVdDPO9MbjLqy8LPSjpaNxG1VStbKPAEel4snWVrvRDczS8/sh59aUWyqUGiv0DLlj6C8QKHWWpWkpVBHJuCBEjmUoNPiyQHl3+hPIpiv6+VBFy8irJ6pgaJ2MiwXPDNKJfNhnFx1sPK1JCgkW5D9oaD6mqIr+pOq4l0uEK8LD87GMuW7uDLAa1lHd6Hisk80FnFguCfJBM0vg+/DRBaGwr0oB37y9dsnwwQQsd6TfNc2UN2b5fwlaevufSbbnFAAkwq1UFpkQ6Ol9bEvPFcrpD0HG45518JpzoF+dEmoOxGRi25PqO58keRABH10kFBW1bcWOJmUZtuIwMNSmsDqrbsaRP3TV6ZdqEhhW3FitmX0Gzjkjlq44dH8p4j8AqL4fxwg2/MQrIsrDpR1UBI2OrHgawwikKuEEnudNp7ssPaSOYqNKF6SlYMeq6blOcdcLF0DXMdsMdtTfI/Uof7odpknOqz3CLReFV+tPzZbrSODYDUCmgtbOopmfEQqr29g/NBHxLSXu3N/F5HZb14Xe2IRUStoKVelx8ShTqezf0mJLwnQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR08MB5433.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(33656002)(8936002)(76116006)(2906002)(83380400001)(6506007)(66476007)(186003)(26005)(66556008)(91956017)(8676002)(508600001)(4744005)(86362001)(71200400001)(64756008)(316002)(52536014)(5660300002)(110136005)(6636002)(9686003)(55016002)(38070700005)(122000001)(38100700002)(66946007)(7696005)(66446008);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6010 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Joey.Gouly@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ce8a49d5-fe23-41fc-7108-08d98503257d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ErU/MePBDId4ZyN/h1izzhUN8fnMEmxs8OIPdQQuH7oCfb5H0DS91IybdBnWFsBmkMRTN2N5GqZZncxthFQNi01larl2dL+47QZyw+hEkRPzBEfinocC9d3EZM0lIcJzWfBwiAvuSdEd19yscEyvZgQ/Ti0mAndWSok04msnBoc2WgpyQsQBCdVaSP5x/qiN7onOovhmz2r3g7H5pl3PFZb7vQVeWF28+nV7TooFXwp57kUtyWJjP6mAsK0xmde55qqMYRgEpSHqpnhOnDvL4/Fp0p31ULllkJBfmLZOfjRBB4BfH/NHes+ZVFgZnTh3ccpWyy2JQKBoFjkVTMVS9bpP6PcWtdXRokZ50oT/MeoFqrrZTnNYKCadWDhKdQQHxArMhqtqasHisjUVsYOrJp8l3enjj4b8yb9GJR2oaHMBCj3y3ab4wMvJHAP/j5QXJLgiK6vUrCiU6ZLI/DfVeBIn3iZftCKYFv5fz2q7kjPRoay67rhfB1vJxW5JVKfA/6FrvS06r4I6zVfbVxQLHERpzX7mncdNNKQLfIgk+275iWEUj4T2RzYc6Tz4/8J1iEiEACFCfzvK6pWiEqXjuIm/9IEuRTMK8SJZPrhKa2L6NSUydSNGxPwhodna4wNwRrP8cWg3C8YnVR0PRf8xwPj3Xh7W0ajpzd9z4tRtk72yJRXIqcFahSyJMkyhy8BxkTwCMzSn2UsgQwZQ/yMl+Q== 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:(4636009)(46966006)(36840700001)(186003)(336012)(81166007)(33656002)(52536014)(26005)(2906002)(70586007)(55016002)(9686003)(110136005)(356005)(70206006)(8676002)(4744005)(47076005)(316002)(83380400001)(508600001)(6506007)(7696005)(8936002)(5660300002)(6636002)(82310400003)(36860700001)(86362001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2021 17:44:56.2035 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8fdec136-67c9-47c2-c407-08d985032e98 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: AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1663 Content-Language: en-GB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Sami, > TF-A for Juno has been updated to implement the Arm FW-TRNG interface > that can be used to access entropy from the TRNG hardware on Juno. > > Similarly, the EFI_RNG_PROTOCOL in RngDxe has been updated to add > EFI_RNG_ALGORITHM_RAW support using the FW-TRNG interface. > > Therefore, enable the EFI_RNG_PROTOCOL for Juno platform. > > Signed-off-by: Sami Mujawar > --- > Platform/ARM/JunoPkg/ArmJuno.dsc | 10 +++++++++- > Platform/ARM/JunoPkg/ArmJuno.fdf | 7 ++++++- > 2 files changed, 15 insertions(+), 2 deletions(-) > Tested on Juno. Tested-by: Joey Gouly Thanks, Joey IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.