QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Checksum generation.

Data Structures

struct  mdfour
 

Macros

#define MDFOUR_DIGEST_BYTES   16
 

Functions

unsigned int Com_BlockChecksum (const void *buffer, int length)
 
void Com_BlockFullChecksum (const void *buffer, int len, unsigned char *outbuf)
 
byte COM_BlockSequenceCRCByte (const byte *base, int length, int sequence)
 
unsigned short CRC_Block (const byte *start, int count)
 
void CRC_Init (unsigned short *crcvalue)
 
void CRC_ProcessBlock (const byte *start, unsigned short *crcvalue, int count)
 
void CRC_ProcessByte (unsigned short *crcvalue, byte data)
 
unsigned short CRC_Value (unsigned short crcvalue)
 
void mdfour (unsigned char *out, const unsigned char *in, int n)
 
void mdfour_begin (struct mdfour *md)
 
void mdfour_result (struct mdfour *md, unsigned char *out)
 
void mdfour_update (struct mdfour *md, const unsigned char *in, int n)
 

Detailed Description

Macro Definition Documentation

#define MDFOUR_DIGEST_BYTES   16

Function Documentation

unsigned int Com_BlockChecksum ( const void *  buffer,
int  length 
)
void Com_BlockFullChecksum ( const void *  buffer,
int  len,
unsigned char *  outbuf 
)
byte COM_BlockSequenceCRCByte ( const byte base,
int  length,
int  sequence 
)
unsigned short CRC_Block ( const byte start,
int  count 
)
void CRC_Init ( unsigned short *  crcvalue)
void CRC_ProcessBlock ( const byte start,
unsigned short *  crcvalue,
int  count 
)
void CRC_ProcessByte ( unsigned short *  crcvalue,
byte  data 
)
unsigned short CRC_Value ( unsigned short  crcvalue)
void mdfour ( unsigned char *  out,
const unsigned char *  in,
int  n 
)
void mdfour_begin ( struct mdfour md)
void mdfour_result ( struct mdfour md,
unsigned char *  out 
)
void mdfour_update ( struct mdfour md,
const unsigned char *  in,
int  n 
)