Linux Kernel
3.7.1
|
#include <crypto/internal/rng.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/string.h>
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | prng_context |
Macros | |
#define | DEFAULT_PRNG_KEY "0123456789abcdef" |
#define | DEFAULT_PRNG_KSZ 16 |
#define | DEFAULT_BLK_SZ 16 |
#define | DEFAULT_V_SEED "zaybxcwdveuftgsh" |
#define | PRNG_FIXED_SIZE 0x1 |
#define | PRNG_NEED_RESET 0x2 |
#define | dbgprint(format, args...) |
Functions | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("Software Pseudo Random Number Generator") | |
MODULE_AUTHOR ("Neil Horman <[email protected]>") | |
module_param (dbg, int, 0) | |
MODULE_PARM_DESC (dbg,"Boolean to enable debugging (0/1 == off/on)") | |
module_init (prng_mod_init) | |
module_exit (prng_mod_fini) | |
MODULE_ALIAS ("stdrng") | |
#define dbgprint | ( | format, | |
args... | |||
) |
Definition at line 70 of file ansi_cprng.c.
#define DEFAULT_BLK_SZ 16 |
Definition at line 27 of file ansi_cprng.c.
#define DEFAULT_PRNG_KEY "0123456789abcdef" |
Definition at line 25 of file ansi_cprng.c.
#define DEFAULT_PRNG_KSZ 16 |
Definition at line 26 of file ansi_cprng.c.
#define DEFAULT_V_SEED "zaybxcwdveuftgsh" |
Definition at line 28 of file ansi_cprng.c.
#define PRNG_FIXED_SIZE 0x1 |
Definition at line 34 of file ansi_cprng.c.
#define PRNG_NEED_RESET 0x2 |
Definition at line 35 of file ansi_cprng.c.
MODULE_ALIAS | ( | "stdrng" | ) |
MODULE_AUTHOR | ( | "Neil Horman <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Software Pseudo Random Number Generator" | ) |
module_exit | ( | prng_mod_fini | ) |
module_init | ( | prng_mod_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |