riot_sys

Function rotating_hash

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

@defgroup sys_hashes_rotating Rotating @ingroup sys_hashes_non_crypto @brief Rotating hash algorithm.

found on http://burtleburtle.net/bob/hash/doobs.html

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