Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sha.h File Reference
#include <linux/crypto.h>
#include <crypto/sha.h>

Go to the source code of this file.

Data Structures

struct  s390_sha_ctx
 

Macros

#define SHA_MAX_STATE_SIZE   16
 
#define SHA_MAX_BLOCK_SIZE   SHA512_BLOCK_SIZE
 

Functions

int s390_sha_update (struct shash_desc *desc, const u8 *data, unsigned int len)
 
int s390_sha_final (struct shash_desc *desc, u8 *out)
 

Macro Definition Documentation

#define SHA_MAX_BLOCK_SIZE   SHA512_BLOCK_SIZE

Definition at line 23 of file sha.h.

#define SHA_MAX_STATE_SIZE   16

Definition at line 22 of file sha.h.

Function Documentation

int s390_sha_final ( struct shash_desc desc,
u8 out 
)

Definition at line 61 of file sha_common.c.

int s390_sha_update ( struct shash_desc desc,
const u8 data,
unsigned int  len 
)

Definition at line 21 of file sha_common.c.