Linux Kernel
3.7.1
|
#include <uapi/linux/random.h>
Go to the source code of this file.
Functions | |
void | add_device_randomness (const void *, unsigned int) |
void | add_input_randomness (unsigned int type, unsigned int code, unsigned int value) |
void | add_interrupt_randomness (int irq, int irq_flags) |
void | get_random_bytes (void *buf, int nbytes) |
void | get_random_bytes_arch (void *buf, int nbytes) |
void | generate_random_uuid (unsigned char uuid_out[16]) |
unsigned int | get_random_int (void) |
unsigned long | randomize_range (unsigned long start, unsigned long end, unsigned long len) |
u32 | random32 (void) |
void | srandom32 (u32 seed) |
u32 | prandom32 (struct rnd_state *) |
Variables | |
struct file_operations random_fops | urandom_fops |
prandom32 - seeded pseudo-random number generator. : pointer to state structure holding seeded state.
This is used for pseudo-randomness with no outside seeding. For more random results, use random32().
Definition at line 51 of file random32.c.
random32 - pseudo random number generator
A 32 bit pseudo-random number is generated using a fast algorithm suitable for simulation. This algorithm is NOT considered safe for cryptographic use.
Definition at line 70 of file random32.c.
srandom32 - add entropy to pseudo random number generator : seed value
Add some additional seeding to the random32() pool.
Definition at line 86 of file random32.c.
struct file_operations random_fops urandom_fops |