On 06/26/2017 12:41 PM, Salz, Rich wrote:

> Suppose the chip supports RDRAND but the runtime doesn't have
> getrandom or /dev/random?

That's an easy one!

Check the feature-test bit and then call RDRAND yourself.
Code to do this exists, e.g.
  
https://en.wikipedia.org/wiki/RdRand#Sample_x86_asm_code_to_check_upon_RDRAND_instruction

A version of that for 64-bit architecture exists somewhere, too.
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to