1 /* 2 * SipHash reference C implementation 3 * 4 * Copyright (c) 2016 Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com> 5 * 6 * To the extent possible under law, the author(s) have dedicated all 7 * copyright and related and neighboring rights to this software to the public 8 * domain worldwide. This software is distributed without any warranty. 9 * 10 * You should have received a copy of the CC0 Public Domain Dedication along 11 * with this software. If not, see 12 * <http://creativecommons.org/publicdomain/zero/1.0/>. 13 */ 14 15 #include <cstdint> 16 #include "src/base/macros.h" 17 18 V8_EXPORT_PRIVATE uint32_t halfsiphash(const uint32_t value, 19 const uint64_t seed); 20