rdrand 0.1.0
“An implementation of random number generator based on rdrand and rdseed instructions”
Rust asm! inline assembly macro
SHA-25661cf0eced618d610070c08c87dc4116e81e30518fc9b1d0f0901b04e2b17108c
MaleculeH(Mg)
Evidence
23:8… let (mut a, mut b, mut c, mut d);
24 unsafe {
25 asm!("cpuid"
26 :"={eax}"(a), "={ebx}"(b), "={ecx}"(c), "={edx}"(d)
27 :"{eax}"(ain), "{ecx}"(cin)
28 …
58:21… &self) -> T {
59 let mut var;
60 unsafe {
61 asm!("1: rdrand $0; jnc 1b;" : "=r"(var));
62 }
63 var
⋯4 lines
No evidence locations were recorded for this file. Raw result