Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
shash_alg Struct Reference

#include <hash.h>

Public Member Functions

unsigned int digestsize __attribute__ ((aligned(__alignof__(struct hash_alg_common))))
 

Data Fields

int(* init )(struct shash_desc *desc)
 
int(* update )(struct shash_desc *desc, const u8 *data, unsigned int len)
 
int(* final )(struct shash_desc *desc, u8 *out)
 
int(* finup )(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out)
 
int(* digest )(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out)
 
int(* export )(struct shash_desc *desc, void *out)
 
int(* import )(struct shash_desc *desc, const void *in)
 
int(* setkey )(struct crypto_shash *tfm, const u8 *key, unsigned int keylen)
 
unsigned int descsize
 
unsigned int statesize
 
struct crypto_alg base
 

Detailed Description

Definition at line 61 of file hash.h.

Member Function Documentation

unsigned int digestsize __attribute__ ( (aligned(__alignof__(struct hash_alg_common)))  )

Field Documentation

Definition at line 82 of file hash.h.

unsigned int descsize

Definition at line 75 of file hash.h.

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

Definition at line 68 of file hash.h.

Definition at line 70 of file hash.h.

int(* final)(struct shash_desc *desc, u8 *out)

Definition at line 65 of file hash.h.

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

Definition at line 66 of file hash.h.

Definition at line 71 of file hash.h.

Definition at line 62 of file hash.h.

int(* setkey)(struct crypto_shash *tfm, const u8 *key, unsigned int keylen)

Definition at line 72 of file hash.h.

unsigned int statesize

Definition at line 80 of file hash.h.

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

Definition at line 63 of file hash.h.


The documentation for this struct was generated from the following file: