Utility for using the RDRAND instruction

On some x86_64 hardware the RDRAND instruction returns 64bits of entropy
from an on-chip random number generator. RDRAND is not recommended as an
exclusive source of entropy for cryptographic applications.

https://en.wikipedia.org/wiki/RdRand
This commit is contained in:
Emery Hemingway
2019-02-11 15:43:29 +01:00
committed by Norman Feske
parent 85751b6f12
commit 2f760075a7
11 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1 @@
Test for the RDRAND utility.

View File

@@ -0,0 +1 @@
_/src/test-rdrand

View File

@@ -0,0 +1 @@
2019-02-05-b c847249e6a9161857212672d571d51e9ab537081

View File

@@ -0,0 +1,16 @@
<runtime ram="1M" caps="64" binary="test-rdrand">
<events>
<timeout meaning="failed" sec="20" />
<log meaning="succeeded">--- RDRAND test finished ---</log>
<log meaning="failed" >Error: </log>
</events>
<content>
<rom label="ld.lib.so"/>
<rom label="test-rdrand"/>
</content>
<config/>
</runtime>