dd using RDRAND instruction of x86 CPUs.
dd_rand of=<file> bs=<block size> count=<number of blocks>
Arguments:
of: output filebs: block size (in bytes)count: number of blocks
Example creating a file a.bin filled with random numbers total of 2048 bytes:
dd_rand of=a.bin bs=1024 count=2
The assembly functions have been generated in rdrand-measurement-gen.