CMS 3D CMS Logo

sha1.h File Reference

#include <inttypes.h>

Go to the source code of this file.

Classes

struct  SHA1Context

Defines

#define SHA1HashSize   20

Enumerations

enum  { shaSuccess = 0, shaNull, shaInputTooLong, shaStateError }

Functions

int SHA1Input (SHA1Context *, const uint8_t *, unsigned int)
int SHA1Reset (SHA1Context *)
int SHA1Result (SHA1Context *, uint8_t Message_Digest[SHA1HashSize])


Define Documentation

#define SHA1HashSize   20

Definition at line 50 of file sha1.h.


Enumeration Type Documentation

anonymous enum

Enumerator:
shaSuccess 
shaNull 
shaInputTooLong 
shaStateError 

Definition at line 42 of file sha1.h.

00043 {
00044     shaSuccess = 0,
00045     shaNull,            /* Null pointer parameter */
00046     shaInputTooLong,    /* input data too long */
00047     shaStateError       /* called Input after Result */
00048 };


Function Documentation

int SHA1Input ( SHA1Context ,
const uint8_t *  ,
unsigned  int 
)

int SHA1Reset ( SHA1Context  ) 

int SHA1Result ( SHA1Context ,
uint8_t  Message_Digest[SHA1HashSize] 
)


Generated on Tue Jun 9 17:54:16 2009 for CMSSW by  doxygen 1.5.4