Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Siphash is too slow, use HighwayHash #33

Open
jserv opened this issue May 6, 2020 · 0 comments
Open

Siphash is too slow, use HighwayHash #33

jserv opened this issue May 6, 2020 · 0 comments

Comments

@jserv
Copy link

jserv commented May 6, 2020

Use Google's HighwayHash or AVX2 implementation of Siphash.

Our SipHash implementation is a fast and portable drop-in replacement for the reference C code. Outputs are identical for the given test cases (messages between 0 and 63 bytes).
Interestingly, it is about twice as fast as a SIMD implementation using SSE4.1 (https://goo.gl/80GBSD). This is presumably due to the lack of SIMD bit rotate instructions prior to AVX-512.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant