diff options
author | Yves Orton <demerphq@gmail.com> | 2020-01-24 16:08:35 +0100 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2020-01-24 12:45:46 -0500 |
commit | 9af31f94746ab52901fec0d3e10bc769da49c7e9 (patch) | |
tree | 5f808fa86696bb42285f1f15202a011fa35f7ee4 /.gitignore | |
parent | fb953ad4077a4a0f7b8204f52f3ce71feca190d2 (diff) | |
download | perl-9af31f94746ab52901fec0d3e10bc769da49c7e9.tar.gz |
hv_func.h: tweak how we deal with 64 bit Siphash
This slightly modifies how we apply Siphash in our code
so that instead of taking the low 32 bits of the hash
we return the xor of the high and low 32 bits.
This also adds /* FALLTHROUGH */ statements to some of
the related code so that picky compilers don't get upset
as it is not a mistake.
Lastly this allows our test code to access both the
"real" 64 bit Siphash, and also the reduced 32 bit version.
Most of this is in preparation for adding tests for
some of our hash related code. See next commit.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions