riot_sys

Function dek_hash

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

@defgroup sys_hashes_dek Donald E. Knuth @ingroup sys_hashes_non_crypto @brief Donald E. Knuth hash algorithm.

HISTORY Proposed by Donald E. Knuth in The Art Of Computer Programming Vol. 3, under the topic of “Sorting and Search”, Chapter 6.4.

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