| 1 |
### rndaddtoentcnt |
| 2 |
|
| 3 |
Seeding the random number generator by writing to /dev/urandom does not update the entropy count. |
| 4 |
|
| 5 |
This utility makes the RNDADDTOENTCNT ioctl call needed to do this. |
| 6 |
|
| 7 |
Used in startup scripts after initializing /dev/urandom with a presaved seed. |
| 8 |
|
| 9 |
Example: |
| 10 |
|
| 11 |
dd if=/path/to/some/random-seed-file of=/dev/urandom bs=512 count=1 |
| 12 |
|
| 13 |
/path/to/rdnaddtoentcnt <entropy-bit-count> |
| 14 |
|
| 15 |
where entropy-bit-count is a number between 1 and (8 * 512) depending on how much you trust the seed file. |