如何在A7应用程序中获得高质量的随机性? [英] How to get high-quality randomness in A7 application?

查看:59
本文介绍了如何在A7应用程序中获得高质量的随机性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

操作系统为A7应用程序提供的随机性质量如何?它来自一些内部硬件TRNG元素吗?


你如何推荐从芯片内部获取随机字节?


谢谢!





- Manu -

解决方案

您好,Manu


根据官方文档  "Microsoft Pluton安全子系统" Azure Sphere体系结构部分:


https:/ /docs.microsoft.com/en-us/azure-sphere/product-overview/architecture


Pluton安全子系统是基于硬件的(即硅片) Azure Sphere的安全信任根。它包括一个安全处理器核心,加密引擎,
一个硬件随机数生成器 ,公钥/私钥生成,非对称和对称加密,支持椭圆曲线数字签名算法(ECDSA)验证安全启动,
和硅片测量启动以支持云服务的远程证明,以及各种篡改对策,包括熵检测单元。


我相信你是对的。 


作为如何从SDK获取随机功能,我想你昨天发布了这个问题。并根据可用的API 从当前的SDK中,没有这样的应用程序库支持您的随机功能:


https://docs.microsoft.com/en-us/azure-sphere/reference/applibs-reference/api-overview


What is the quality of the randomness provided by the OS to the A7 application? Is it coming from some internal hardware TRNG element?

How do you recommend getting random bytes from within the chip?

Thanks!


- Manu -

解决方案

Hello, Manu

According to the official docs in  "Microsoft Pluton security subsystem" section for Azure Sphere architecture:

https://docs.microsoft.com/en-us/azure-sphere/product-overview/architecture

The Pluton security subsystem is the hardware-based (i.e., in silicon) secured root of trust for Azure Sphere. It includes a security processor core, cryptographic engines, a hardware random number generator, public/private key generation, asymmetric and symmetric encryption, support for elliptic curve digital signature algorithm (ECDSA) verification for secured boot, and measured boot in silicon to support remote attestation with a cloud service, as well as various tampering counter-measures including an entropy detection unit.

I believe you are right. 

As how to get random function from the SDK, I think you posted the question yesterday. And according the available API  from the current SDK, there is no such Application Libraries supporting your random function:

https://docs.microsoft.com/en-us/azure-sphere/reference/applibs-reference/api-overview


这篇关于如何在A7应用程序中获得高质量的随机性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆