You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vs <<x86-jcc-instructions,Jcc>>: https://stackoverflow.com/questions/6805692/x86-assembly-programming-loops-with-ecx-and-loop-instruction-versus-jmp-jcond Holy CISC!
12418
12418
12419
+
=== x86 random number generator instructions
12420
+
12421
+
<<intel-manual-1>> 5.1.15 Random Number Generator Instructions
If you run that executable multiple times, it prints a random number every time to stdout.
12426
+
12427
+
RDRAND is a true random number generator!
12428
+
12429
+
This Intel engineer says its based on quantum effects: https://stackoverflow.com/questions/17616960/true-random-numbers-with-c11-and-rdrand/18004959#18004959
12430
+
12431
+
Generated some polemic when kernel devs wanted to use it as part of `/dev/random`, because it could be used as a cryptographic backdoor by Intel since it is a black box.
12432
+
12433
+
RDRAND sets the carry flag when data is ready so we must loop if the carry flag isn't set.
0 commit comments