_rdseed16_step
Classification
Other, Random, CPUID Test: RDSEED
Header File
Instruction
RDSEED r16
Synopsis
_rdseed16_step(unsigned short * val);
Description
Read a 16-bit NIST SP800-90B and SP800-90C compliant random value and store in "val". Return 1 if a random value was generated, and 0 otherwise.
Operation
IF HW_NRND_GEN.ready == 1
val[15:0] := HW_NRND_GEN.data
dst := 1
ELSE
val[15:0] := 0
dst := 0
FI