Re:HighwayHash: Strong hashing at 0.3 clock cycles per byte
by AYBABTME on Thursday March 03, 2016 @09:17AM
(#11216921)
Thanks, that's basically what I was looking for. I have apps that are bottlenecked by blake2, so finding a faster cryptographic hash function would be pretty interesting to me.
Re:HighwayHash: Strong hashing at 0.3 clock cycles per byte
by haneefmubarak on Thursday March 03, 2016 @11:20AM
(#11217826)
If BLAKE2 (I assume you're using blake2b) is your bottleneck, perhaps you should consider the blake2bp (four way parallelism) or the blake2sp (eight way parallelism) variants. If even those are too slow for you (lots of continuous data and you have multiple cores available), then you might be able to try using tree hashing on top of one of the mentioned BLAKE2 variants.
I'm curious though, what are you working on that saturates ~1 GiB/s/core?
I think BLAKE2 is probably the fastest and best cryptographic hash function you're likely to see for the foreseeable future?