Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations | Variables
hasht.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SECHashObjectStr
struct  HASHContextStr

Defines

#define MD2_LENGTH   16
#define MD5_LENGTH   16
#define SHA1_LENGTH   20
#define SHA256_LENGTH   32
#define SHA384_LENGTH   48
#define SHA512_LENGTH   64
#define HASH_LENGTH_MAX   SHA512_LENGTH

Typedefs

typedef struct SECHashObjectStr
typedef struct HASHContextStr

Enumerations

enum  HASH_HashType {
  HASH_AlgNULL = 0, HASH_AlgMD2 = 1, HASH_AlgMD5 = 2, HASH_AlgSHA1 = 3,
  HASH_AlgSHA256 = 4, HASH_AlgSHA384 = 5, HASH_AlgSHA512 = 6, HASH_AlgTOTAL,
  HASH_AlgNULL = 0, HASH_AlgMD2 = 1, HASH_AlgMD5 = 2, HASH_AlgSHA1 = 3,
  HASH_AlgSHA256 = 4, HASH_AlgSHA384 = 5, HASH_AlgSHA512 = 6, HASH_AlgTOTAL
}

Variables

const SECHashObject SECHashObjects []
const SECHashObject SECRawHashObjects []

Class Documentation

struct HASHContextStr

Definition at line 86 of file hasht.h.

Collaboration diagram for HASHContextStr:
Class Members
void * hash_context
struct SECHashObjectStr * hashobj

Define Documentation

Definition at line 69 of file hasht.h.

#define MD2_LENGTH   16

Definition at line 63 of file hasht.h.

#define MD5_LENGTH   16

Definition at line 64 of file hasht.h.

#define SHA1_LENGTH   20

Definition at line 65 of file hasht.h.

Definition at line 66 of file hasht.h.

Definition at line 67 of file hasht.h.

Definition at line 68 of file hasht.h.


Typedef Documentation

typedef struct HASHContextStr

Definition at line 43 of file hasht.h.

typedef struct SECHashObjectStr

Definition at line 42 of file hasht.h.


Enumeration Type Documentation

Enumerator:
HASH_AlgNULL 
HASH_AlgMD2 
HASH_AlgMD5 
HASH_AlgSHA1 
HASH_AlgSHA256 
HASH_AlgSHA384 
HASH_AlgSHA512 
HASH_AlgTOTAL 
HASH_AlgNULL 
HASH_AlgMD2 
HASH_AlgMD5 
HASH_AlgSHA1 
HASH_AlgSHA256 
HASH_AlgSHA384 
HASH_AlgSHA512 
HASH_AlgTOTAL 

Definition at line 49 of file hasht.h.


Variable Documentation

const SECHashObject SECHashObjects[]

Definition at line 109 of file sechash.c.

const SECHashObject SECRawHashObjects[]

Definition at line 79 of file rawhash.c.