Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
cascoda_hash.h File Reference

Hashing helper functions. More...

#include <stddef.h>
#include <stdint.h>
Include dependency graph for cascoda_hash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint32_t HASH_fnv1a_32 (const void *data_in, size_t num_bytes)
 Calculate the 32-bit fnv1a non-crypto hash of a block of data. More...
 
uint64_t HASH_fnv1a_64 (const void *data_in, size_t num_bytes)
 Calculate the 64-bit fnv1a non-crypto hash of a block of data. More...
 
void HASH_fnv1a_64_stream (const void *data_in, size_t num_bytes, uint64_t *hash)
 Streaming version of HASH_fnv1a_64. More...
 
uint32_t HASH_CRC32 (uint8_t *data, uint32_t dataLen)
 Calculate the CRC32 hash of a block of data. More...
 
void HASH_CRC32_stream (uint8_t *data, uint32_t dataLen, uint32_t *crc)
 Streaming version of HASH_CRC32. More...
 

Detailed Description

Hashing helper functions.