Is there a ARM processor support on-chip hardware random number generator?

梦想与她 提交于 2020-12-08 08:00:30

问题


Intel supports RDRAND (also known as Intel secure key) instruction for returning random numbers. And it's available in Ivy Bridge processors.

I wonder, is there any ARM processor featuring instructions for on-chip hw random number generator functionally similar to RDRAND?

And I have an additional question.

In the Linux kernel (version 3.10), there are driver sources for hw random number generators in /linux/drivers/char/hw_random. (http://lxr.free-electrons.com/source/drivers/char/hw_random/?v=3.10)

And I found exynos-rng.c described as Random Number Generator driver for the exynos.

So, does exynos has H/W random number generator like Intel processors?

Thanks. Any comments are really appreciated.


回答1:


ARM CPU cores don't have any such functionality themselves, but a great many SoCs which contain ARM CPU cores also contain their own HWRNG peripheral. As it's not part of the CPU architecture there are no "standard" instructions or interfaces, so just like any other peripheral there are a wide range of implementations with their own drivers.



来源:https://stackoverflow.com/questions/39390076/is-there-a-arm-processor-support-on-chip-hardware-random-number-generator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!