History

random: add new ioctl RNDRESEEDCRNG

Add a new ioctl which forces the the crng to be reseeded.

Theodore Ts'o committed 8 years ago

Commit d848e5f1 parent 0bb29a82 files · +15 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/random.h+3−0
@@ -35,6 +35,9 @@ · 34 unmodified lines
3535 /* Clear the entropy pool and associated counters. (Superuser only.) */
3636 #define RNDCLEARPOOL _IO( 'R', 0x06 )
3737
38+/* Reseed CRNG. (Superuser only.) */
39+#define RNDRESEEDCRNG _IO( 'R', 0x07 )
40+
3841 struct rand_pool_info {
3942 int entropy_count;
4043 int buf_size;