From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by mx.groups.io with SMTP id smtpd.web08.7890.1619448344779905090 for ; Mon, 26 Apr 2021 07:45:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=K7Bq5Dro; spf=pass (domain: nuviainc.com, ip: 209.85.222.170, mailfrom: rebecca@nuviainc.com) Received: by mail-qk1-f170.google.com with SMTP id o5so56704621qkb.0 for ; Mon, 26 Apr 2021 07:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mywAgFpAlBZTY7JrkhwQKBPxgtGjv6RvD8EkLBh+bsk=; b=K7Bq5DroLUVTEtME2HmLDwh5IsABX7gNFhHSMGN23ehMLM7Wb4+wfeGaMVIqv1WRtb IFxUQaGHYOptGMk560gmjBI47/M2Y0dE2+RvusKKU2Vn5DtdbHWw6jKfUyeX2U8fGyBi N1iTuzZLYvxsgWp7aJqmI6vX4m+TXhXbTkRIZawxQivEEZY6CmHqwurejPZPlD7MLN0P z7/UbmNUZ2PR0+pZeqlMACRVKYCxSxGBS72oxGZiI09YvcppdqiUrmNIq9JJm72ZR0l8 LSWxbCDkeXgFFdH4kOye63qu1VYrKJ23cQQfeAk+d3reL8Q/TPeHghEe0neOKpbrAlKy tIPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mywAgFpAlBZTY7JrkhwQKBPxgtGjv6RvD8EkLBh+bsk=; b=KU2QHM2nK6yLoVZcvAZfYJ7sDM/+uOSyG7TogVMq7BxjsiUim55nvd9trOvB0xIxYX vHhGghWBdRSYTD4AKeuu3lKvO0voRzDn/q9BA+i70xrVto+bZN1dPmlBk3Olz6HpVQUa A2IE5AOaaJaKTX+SigovyE/PbyUo2vuR+0v7XcuMzXslfoAp1JxetNWW/E0PK8hBKkXB Z02uI3pwZ7MIHDbLJLa/hdJLFKPVNhFRXKLC702OLNUEHAdNRdTkjj+KA4KFESLj2fyC cu0rRmSEy0jj1FsuAGnDisI6HaVo+wlJ571a2yZWfKFvo1o9wFb8slgNfx/p/ebLEsUe vN1w== X-Gm-Message-State: AOAM531yPoceem01j+xrQcN90lejRQPVpwgLSypJBsfPU53VjdmeGZ3L NoqaZXBce6FBJIZUYhV4s85TFg== X-Google-Smtp-Source: ABdhPJyZc6VfTng73oolDjT8u2KBBp9QAR4NpylrJpSJb1PwgndPwwzLSti3GzhuXiAJO/sKJi9qCA== X-Received: by 2002:a37:7b41:: with SMTP id w62mr17227867qkc.256.1619448343873; Mon, 26 Apr 2021 07:45:43 -0700 (PDT) Return-Path: Received: from [10.0.10.142] (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id b17sm11053482qto.88.2021.04.26.07.45.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Apr 2021 07:45:43 -0700 (PDT) Subject: Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe To: Sami Mujawar , "devel@edk2.groups.io" , Samer El-Haj-Mahmoud , Ard Biesheuvel , "leif@nuviainc.com" Cc: "rfc@edk2.groups.io" , Jiewen Yao , Rahul Kumar , nd , Jose Marinho References: <70a4f9e7-952c-cf05-bca7-009ee5b2cd3f@nuviainc.com> <06a2aa56-d4ec-3db2-0e82-12211daa5fa7@nuviainc.com> <985081eb-5e3e-fc33-6afa-c9c121412973@nuviainc.com> From: "Rebecca Cran" Message-ID: Date: Mon, 26 Apr 2021 08:45:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Thanks. Yes, I'll work on implementing the RngLib|RNDR part. I'll be using Qemu's sbsa-ref platform for testing. I'll also look into using the FVP_Base_AEMv8A-AEMv8A too. -- Rebecca Cran On 4/22/21 3:30 AM, Sami Mujawar wrote: > Hi Rebecca, > > I have been working on the following modules (See slide 11 in “EDKII - > Proposed update to RNG implementation.pdf > ”): > > 1. TrngLib|FwTrnglib (Arm Firmware TRNG) > 2. DrbgLib stack – with support for DrbgAlgorithmLib|CRT_DRBG & > AesLib|ArmAesInstructionLib. > > I plan to post patches for (a) in the next fortnight. Following this I > plan to update the proposal with the interface definitions for the > various library interfaces in the DrbgLib Stack. > > I have not looked at RngLib|RNDR as I believe you were interested in > implementing the part. Kindly let me know if you plan to implement this > and the platform you would be using for testing. It looks like the > FVP_Base_AEMv8A-AEMv8A and the FVP-RevC models support RNDR, so these > could be used for testing as well. Please feel free to get in touch > should you need any help with the model parameters or if you face any > issues. > > Regards, > > Sami Mujawar > > *From: *Rebecca Cran > *Date: *Tuesday, 20 April 2021 at 21:04 > *To: *Sami Mujawar , devel@edk2.groups.io > , Samer El-Haj-Mahmoud > , Ard Biesheuvel , > leif@nuviainc.com > *Cc: *rfc@edk2.groups.io , Jiewen Yao > , Rahul Kumar , nd > , Jose Marinho > *Subject: *Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to > RngDxe > > Hi Sami, > > I was wondering if you're still collecting feedback on the design, or if > you have a plan and schedule for the implementation? > > -- > Rebecca Cran > > On 1/15/21 7:51 PM, Sami Mujawar wrote: > > Hi All, > > > > I have shared some initial thoughts on the RNG implementation updates > at > https://edk2.groups.io/g/devel/files/Designs/2021/0116/EDKII%20-%20Proposed%20update%20to%20RNG%20implementation.pdf > > > > > Kindly let me know your feedback or if you have any queries. > > > > Regards, > > > > Sami Mujawar > > > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of > Rebecca Cran via groups.io > > Sent: 14 January 2021 09:05 PM > > To: Sami Mujawar ; devel@edk2.groups.io; Samer > El-Haj-Mahmoud ; Ard Biesheuvel > ; leif@nuviainc.com > > Cc: rfc@edk2.groups.io; Jiewen Yao ; Rahul > Kumar ; nd > > Subject: Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to > RngDxe > > > > On 12/10/20 4:26 AM, Sami Mujawar wrote: > > > >> I am working on the TRNG FW API interface and will share more details > >> for the discussion soon. > >> > >> We had some thoughts about streamlining the RngDxe implementations and > >> would like to share some diagrams for the discussion. > >> > >> My diagrams are in Visio that I can export as JPG images. However, I am > >> open to switching to any other suggested tool. > > > > Hi Sami, > > > > I don't see any further discussions on this. Have you made any progress > > with sharing the design documents or scheduling a review? > > >