crc64.h File Reference

CRC64 in C. More...

#include <isc/lang.h>
#include <isc/types.h>

Go to the source code of this file.

Defines

#define ISC_CRC64_H   1

Functions

ISC_LANG_BEGINDECLS void isc_crc64_init (isc_uint64_t *crc)
void isc_crc64_update (isc_uint64_t *crc, const void *data, size_t len)
 Initialize a new CRC.
void isc_crc64_final (isc_uint64_t *crc)
 Add data to the CRC.


Detailed Description

CRC64 in C.

Definition in file crc64.h.


Define Documentation

#define ISC_CRC64_H   1

Definition at line 18 of file crc64.h.


Function Documentation

ISC_LANG_BEGINDECLS void isc_crc64_init ( isc_uint64_t crc  ) 

Definition at line 118 of file crc64.c.

References REQUIRE.

Referenced by ATF_TC_BODY(), dns_rbt_deserialize_tree(), and dns_rbt_serialize_tree().

void isc_crc64_update ( isc_uint64_t crc,
const void *  data,
size_t  len 
)

Initialize a new CRC.

Requires: * 'crc' is not NULL.

Definition at line 125 of file crc64.c.

References crc64_table, and REQUIRE.

Referenced by ATF_TC_BODY(), fix_data(), rbt_datafixer(), rbt_datawriter(), serialize_node(), treefix(), and write_data().

void isc_crc64_final ( isc_uint64_t crc  ) 

Add data to the CRC.

Requires: * 'crc' is not NULL. * 'data' is not NULL.

Definition at line 140 of file crc64.c.

References REQUIRE.

Referenced by ATF_TC_BODY(), dns_rbt_deserialize_tree(), and dns_rbt_serialize_tree().


Generated on Tue Apr 28 17:41:15 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha