Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
prng.c File Reference
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/random.h>
#include <linux/slab.h>
#include <asm/debug.h>
#include <asm/uaccess.h>
#include "crypt_s390.h"

Go to the source code of this file.

Data Structures

struct  s390_prng_data
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jan Glauber <[email protected]>")
 
 MODULE_DESCRIPTION ("s390 PRNG interface")
 
 module_param (prng_chunk_size, int, S_IRUSR|S_IRGRP|S_IROTH)
 
 MODULE_PARM_DESC (prng_chunk_size,"PRNG read chunk size in bytes")
 
 module_param (prng_entropy_limit, int, S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR)
 
 MODULE_PARM_DESC (prng_entropy_limit,"PRNG add entropy after that much bytes were produced")
 
 module_init (prng_init)
 
 module_exit (prng_exit)
 

Function Documentation

MODULE_AUTHOR ( "Jan Glauber <[email protected]>"  )
MODULE_DESCRIPTION ( "s390 PRNG interface )
module_exit ( prng_exit  )
module_init ( prng_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( prng_chunk_size  ,
int  ,
S_IRUSR|S_IRGRP S_IROTH 
)
module_param ( prng_entropy_limit  ,
int  ,
S_IRUSR|S_IRGRP|S_IROTH S_IWUSR 
)
MODULE_PARM_DESC ( prng_chunk_size  ,
"PRNG read chunk size in bytes  
)
MODULE_PARM_DESC ( prng_entropy_limit  ,
"PRNG add entropy after that much bytes were produced"   
)