From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) by mx.groups.io with SMTP id smtpd.web09.748.1612997364833214945 for ; Wed, 10 Feb 2021 14:49:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=qa/f5lgT; spf=pass (domain: nuviainc.com, ip: 209.85.210.41, mailfrom: rebecca@nuviainc.com) Received: by mail-ot1-f41.google.com with SMTP id y11so3471810otq.1 for ; Wed, 10 Feb 2021 14:49:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=m2tNGmeoaNWV7R6ckoYc+VlQE03JciN+yzL8kchjvVI=; b=qa/f5lgTAWVIUuMevIhQIjvaShW0vxYxAlmY6DYN3XtYNdhhECDwQZKsYJ+ZejvoxL EqUCGJka6Vm5zvLsbQExOleQb+jb9hfp2IYzT9V0H/8uk5wbzyea3wS8jiJpXum2ZYcX 0begOhUiwT+yRIG8h24XOC4zFaSWVdmvkRjVaYrW1WyQh2J3bP+ZoaTcsIm6q7iuX82a cP47M7frBDX4Y1fLrdpL5q+6zXaJe7xHF3h1MCJQ6Q6Pdi9FS0tPmwrGZd6lYRC8E/ay kKwYQn6npXp50RdukRi02O7qAGJcGzrAnDVdUurZoKGwqYldJXcfQWggCCmEtkgkSaut dFIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=m2tNGmeoaNWV7R6ckoYc+VlQE03JciN+yzL8kchjvVI=; b=jJc8+27S2LDqrm7Xi9HQnJvG5xISmYOvg8tnvVjt5A7J3Jpbt0znkAtrk02UwzF+Ty 1BJwzU96Z5S1a3F2ZTmF/rCV6ELiK9u03sOYcKgjrcvPBkWPHzyNzxei3pPmMwVuSj0k 8R8KRNntBD/4xMNZOBv5Sf8FPh083PPhckUANKqFmCGZ8oK98WAwv1P9jq70OPVUqpMW Bf7N6iTOObz2gO+IIkLFxxtovTlkAyMDLYJo1MjtImSAKFRcT78O89juRoOIpqzArRIT DKNYh6aL85gOBLh3Wl4Og/talaX3nt6YrJ9GtDILyNDLfweBX7Z6LDN/KLQLhqtOZTwx zLqA== X-Gm-Message-State: AOAM533wh+XL22w41dF5b3LJXj3aQfg1pUn90oYPeLOHdmTXk8jH7KFL VcDzhgqu+HTHD2edjHWpjQjV6w== X-Google-Smtp-Source: ABdhPJyAhMQNng/A74a2CSKqFaaPyqpZtMEx/QR41LMJ736mQf6/c3y2cx26dT/a3gZuhWZpnEavpA== X-Received: by 2002:a9d:7a54:: with SMTP id z20mr3879686otm.233.1612997364265; Wed, 10 Feb 2021 14:49:24 -0800 (PST) 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 k207sm757362oih.32.2021.02.10.14.49.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Feb 2021 14:49:23 -0800 (PST) From: "Rebecca Cran" 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> Message-ID: Date: Wed, 10 Feb 2021 15:49:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 1/15/21 7:51 PM, Sami Mujawar wrote: > 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. The ARMv8.5 RNDRRS instruction appears to be missing from the diagram on page 11 - it has RngLib|RNDR, which is listed under PRNG, but RNDRRS returns a true random number. From the Arm ARM: "Returns a 64-bit random number which is reseeded from the True Random Number source immediately before the read of the random number." -- Rebecca Cran