[cryptography] Intel RNG

Peter Gutmann pgut001 at cs.auckland.ac.nz
Sat Jun 18 03:55:59 EDT 2011

James Cloos <cloos at jhcloos.com> writes:

>From p 8-15 of 319433-011.pdf, I presume that the assembly would look like;
>     RDRAND eax  ; randomize 32-bit register eax
>     RDRAND rdx  ; randomize 64-bit register rax

I know what it looks like at that level, but since no assembler (except,
presumably, the one that's part of ICC) will know what to do with 'rdrand',
I'd like to get the encoded form to implement it as '__asm _emit 0x0F __asm
_emit 0xC7 __asm _emit <something>' (in the case of MSVC).


More information about the cryptography mailing list