crc64.h 280 Bytes
Newer Older
1 2 3 4 5 6 7 8
/**
 * @file crc64.h
 * @date March 24th 2016
 * @brief Header file for CRC64 function.
 */

#include <stdint.h>

9 10 11 12 13

/**
 * @brief Generates and returns a 64-bit Cyclic Redundancy Check from a
 *        character string s of length l.
 */
Celine Mercier's avatar
Celine Mercier committed
14
uint64_t crc64(const char* s, uint64_t l);