hashes icon indicating copy to clipboard operation
hashes copied to clipboard

Implementations of BLAKE2sp and BLAKE2bp

Open pedrocr opened this issue 8 years ago • 5 comments

Apparently BLAKE2 includes parallel versions of the two hash functions to take advantage of multi-core:

https://github.com/BLAKE2/BLAKE2/blob/master/sse/blake2sp.c

It would be nice to have these to be able to take advantage of more cores when hashing large files.

pedrocr avatar Jul 03 '17 20:07 pedrocr

These would also be useful as SIMD implementations, enabling dramatic speedups on common hardware without any extra threads at all.

Ralith avatar Nov 14 '17 02:11 Ralith

btw, here's a bounty on this issue: https://www.bountysource.com/issues/46854589-implementations-of-blake2sp-and-blake2bp

tomtau avatar Jan 17 '19 01:01 tomtau

I started working on the issue.

I am currently making a script to convert test data from the BLAKE2 repo to blobs in the hashes repo.

pczarn avatar Jan 16 '23 06:01 pczarn

FYI, I just rebased #228 which completely replaces the current implementation with blake2-simd

tarcieri avatar Jan 16 '23 15:01 tarcieri

@tarcieri Okay, I can see that blake2-simd includes both parallel variants.

pczarn avatar Jan 17 '23 08:01 pczarn