Function riot_sys::fnv_hash

source ·
pub unsafe extern "C" fn fnv_hash(buf: *const u8, len: size_t) -> u32
Expand description

@defgroup sys_hashes_fnv Fowler–Noll–Vo @ingroup sys_hashes_non_crypto @brief Fowler–Noll–Vo hash algorithm.

NOTE For a more fully featured and modern version of this hash, see fnv32.c

@param buf input buffer to hash @param len length of buffer @return 32 bit sized hash