1
0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-09-26 17:10:42 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Jack O'Connor
b5f1e925f7 rename "offset" to "counter" and always increment it by 1
This is simpler than sometimes incrementing by CHUNK_LEN and other times
incrementing by BLOCK_LEN.
2019-12-12 21:41:30 -05:00
Jack O'Connor
52ea6487f8 switch to representing CVs as words for the compression function
The portable implementation was getting slowed down by converting back
and forth between words and bytes.

I made the corresponding change on the C side first
(12a37be8b5),
and as part of this commit I'm re-vendoring the C code. I'm also
exposing a small FFI interface to C so that blake3_neon.c can link
against portable.rs rather than blake3_portable.c, see c_neon.rs.
2019-12-11 18:05:26 -05:00
Jack O'Connor
1574b488f9 unify the platform-specific tests and test AVX-512 and NEON 2019-12-08 21:56:10 -05:00
Jack O'Connor
c7a1f6e919 add the OffsetDeltas type alias
I'm about to add C integration for AVX-512 and NEON, and this matches
better what the C code is doing.
2019-12-07 21:55:13 -05:00
Jack O'Connor
07890f36f6 switch from words to bytes in representing chaining values 2019-12-03 15:23:07 -05:00
Jack O'Connor
8f15aa3dfb add sse41.rs 2019-12-02 18:02:11 -05:00
Jack O'Connor
21df6b1103 add portable.rs 2019-12-02 17:30:55 -05:00