#include "hash/compute.h"
Defines | |
#define | READ16AT(adr) *((uint16_t*)(adr)) |
This is to read specific # of bits at given addresses. | |
#define | READ8AT(adr) *((uint8_t*)(adr)) |
Functions | |
uint32_t | hash_computeU32 (const uint32_t *data, size_t length, uint32_t initval) |
Compute hash value for different data types. | |
uint32_t | hash_computeU16 (const uint16_t *data16, size_t length, uint32_t initval) |
Hash for uint16_t[]. | |
uint32_t | hash_computeU8 (const uint8_t *data8, size_t length, uint32_t initval) |
Hash for uint8_t[]. |
|
This is to read specific # of bits at given addresses. The cast is done to get rid of the endianness problem. |
|
|
|
Hash for uint16_t[].
|
|
Compute hash value for different data types.
|
|
Hash for uint8_t[].
|