Module capsules_extra::sip_hash
source · Expand description
Tock SipHash capsule.
This is a async implementation of the SipHash.
This capsule was originally written to be used as part of Tock’s key/value store. SipHash was used as it is generally fast, while also being resilient against DOS attacks from userspace (unlike https://github.com/servo/rust-fnv).
Read https://github.com/veorq/SipHash/blob/master/README.md for more details on SipHash.
The implementation is based on the Rust implementation from rust-core, available here: https://github.com/jedisct1/rust-siphash
Copyright 2012-2016 The Rust Project Developers. Copyright 2016-2021 Frank Denis. Copyright 2021 Western Digital
Licensed under the Apache License, Version 2.0 LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0 or the MIT license LICENSE-MIT or http://opensource.org/licenses/MIT, at your option.