Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
rng.c File Reference
#include <linux/atomic.h>
#include <crypto/internal/rng.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/random.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/cryptouser.h>
#include <net/netlink.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (crypto_default_rng)
 
 EXPORT_SYMBOL_GPL (crypto_rng_type)
 
int crypto_get_default_rng (void)
 
 EXPORT_SYMBOL_GPL (crypto_get_default_rng)
 
void crypto_put_default_rng (void)
 
 EXPORT_SYMBOL_GPL (crypto_put_default_rng)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Random Number Generator")
 

Variables

struct crypto_rngcrypto_default_rng
 
struct crypto_type crypto_rng_type
 

Function Documentation

int crypto_get_default_rng ( void  )

Definition at line 111 of file rng.c.

void crypto_put_default_rng ( void  )

Definition at line 142 of file rng.c.

EXPORT_SYMBOL_GPL ( crypto_default_rng  )
EXPORT_SYMBOL_GPL ( crypto_rng_type  )
EXPORT_SYMBOL_GPL ( crypto_get_default_rng  )
EXPORT_SYMBOL_GPL ( crypto_put_default_rng  )
MODULE_DESCRIPTION ( "Random Number Generator"  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct crypto_rng* crypto_default_rng

Definition at line 28 of file rng.c.

struct crypto_type crypto_rng_type
Initial value:
= {
.ctxsize = crypto_rng_ctxsize,
.init = crypto_init_rng_ops,
.report = crypto_rng_report,
}

Definition at line 101 of file rng.c.