Skip to content

Fill a file with random numbers using RDRAND instruction of x86 CPUs like dd from /dev/random

License

Notifications You must be signed in to change notification settings

aelfimow/dd-rdrand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

dd-rdrand

dd using RDRAND instruction of x86 CPUs.

Usage

dd_rand of=<file> bs=<block size> count=<number of blocks>

Arguments:

  • of: output file
  • bs: 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

Note

The assembly functions have been generated in rdrand-measurement-gen.

About

Fill a file with random numbers using RDRAND instruction of x86 CPUs like dd from /dev/random

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages