Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tcrypt.c File Reference
#include <crypto/hash.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/gfp.h>
#include <linux/module.h>
#include <linux/scatterlist.h>
#include <linux/string.h>
#include <linux/moduleparam.h>
#include <linux/jiffies.h>
#include <linux/timex.h>
#include <linux/interrupt.h>
#include "tcrypt.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  tcrypt_result
 

Macros

#define TVMEMSIZE   4
 
#define ENCRYPT   1
 
#define DECRYPT   0
 

Functions

 module_init (tcrypt_mod_init)
 
 module_exit (tcrypt_mod_fini)
 
 module_param (alg, charp, 0)
 
 module_param (type, uint, 0)
 
 module_param (mask, uint, 0)
 
 module_param (mode, int, 0)
 
 module_param (sec, uint, 0)
 
 MODULE_PARM_DESC (sec,"Length in seconds of speed tests ""(defaults to zero which uses CPU cycles instead)")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Quick & dirty crypto testing module")
 
 MODULE_AUTHOR ("James Morris <[email protected]>")
 

Macro Definition Documentation

#define DECRYPT   0

Definition at line 48 of file tcrypt.c.

#define ENCRYPT   1

Definition at line 47 of file tcrypt.c.

#define TVMEMSIZE   4

Definition at line 42 of file tcrypt.c.

Function Documentation

MODULE_AUTHOR ( "James Morris <[email protected]>"  )
MODULE_DESCRIPTION ( "Quick & dirty crypto testing module )
module_exit ( tcrypt_mod_fini  )
module_init ( tcrypt_mod_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( alg  ,
charp  ,
 
)
module_param ( type  ,
uint  ,
 
)
module_param ( mask  ,
uint  ,
 
)
module_param ( mode  ,
int  ,
 
)
module_param ( sec  ,
uint  ,
 
)
MODULE_PARM_DESC ( sec  ,
"Length in seconds of speed tests ""(defaults to zero which uses CPU cycles instead)"   
)