Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wp512.c File Reference
#include <crypto/internal/hash.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <asm/byteorder.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  wp512_ctx
 

Macros

#define WP512_DIGEST_SIZE   64
 
#define WP384_DIGEST_SIZE   48
 
#define WP256_DIGEST_SIZE   32
 
#define WP512_BLOCK_SIZE   64
 
#define WP512_LENGTHBYTES   32
 
#define WHIRLPOOL_ROUNDS   10
 

Functions

 MODULE_ALIAS ("wp384")
 
 MODULE_ALIAS ("wp256")
 
 module_init (wp512_mod_init)
 
 module_exit (wp512_mod_fini)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Whirlpool Message Digest Algorithm")
 

Macro Definition Documentation

#define WHIRLPOOL_ROUNDS   10

Definition at line 36 of file wp512.c.

#define WP256_DIGEST_SIZE   32

Definition at line 31 of file wp512.c.

#define WP384_DIGEST_SIZE   48

Definition at line 30 of file wp512.c.

#define WP512_BLOCK_SIZE   64

Definition at line 33 of file wp512.c.

#define WP512_DIGEST_SIZE   64

Definition at line 29 of file wp512.c.

#define WP512_LENGTHBYTES   32

Definition at line 34 of file wp512.c.

Function Documentation

MODULE_ALIAS ( "wp384"  )
MODULE_ALIAS ( "wp256"  )
MODULE_DESCRIPTION ( "Whirlpool Message Digest Algorithm"  )
module_exit ( wp512_mod_fini  )
module_init ( wp512_mod_init  )
MODULE_LICENSE ( "GPL"  )