include/nmxp_crc32.h File Reference

Computing a 32 bit CRC. More...

#include <stdint.h>

Include dependency graph for nmxp_crc32.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NMXP_CRC32_H   1
#define POLYNOMIAL   (uint32_t)0xedb88320

Functions

uint32_t crc32 (uint32_t crc32val, const char *buf, uint32_t len)
 Computes a 32 bit crc of the data in the buffer, and returns the crc. the polynomial used is 0xedb88320.


Detailed Description

Computing a 32 bit CRC.

Id

Define Documentation

#define NMXP_CRC32_H   1

#define POLYNOMIAL   (uint32_t)0xedb88320


Function Documentation

uint32_t crc32 ( uint32_t  crc32val,
const char *  buf,
uint32_t  len 
)

Computes a 32 bit crc of the data in the buffer, and returns the crc. the polynomial used is 0xedb88320.


Generated on Wed Jul 23 02:18:05 2008 for libnmxp by  doxygen 1.5.3