1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-26 11:46:04 +02:00
Commit Graph

130 Commits

Author SHA1 Message Date
Jack O'Connor a0d7b4f3f8 merge the C code's ci.yml into the top level one
CI is not currently working due to quota issues, so I'll need to check
that this is actually working later.
2020-01-09 09:48:52 -05:00
Jack O'Connor 10c13c8d1c remove the C code's duplicated copy of the test vectors 2020-01-09 09:48:52 -05:00
Jack O'Connor 8be609ba9d delete the previous vendored C files and repoint the Rust code 2020-01-09 09:48:52 -05:00
Jack O'Connor a7579d30ad merge BLAKE3-c into this repo
This is commit 4476d9da0e370993823e7ad17592b84e905afd76 of
https://github.com/veorq/BLAKE3-c.
2020-01-09 09:48:52 -05:00
Jack O'Connor 56ced5b422 switch the reference impl to use the single permutation 2020-01-09 09:21:07 -05:00
Jack O'Connor 442775e3ce test_msg_schedule_permutation 2020-01-09 09:21:07 -05:00
Jack O'Connor 6165c9211c tweaks again 2020-01-08 18:41:53 -05:00
Jack O'Connor 7abaa1b3b2 more wording tweaks in README.md 2020-01-08 18:27:04 -05:00
JP Aumasson a8e2641efa merge 2020-01-08 17:01:59 -05:00
Jack O'Connor c3490e9bd7 baokeshed -> bao 2020-01-08 14:27:19 -05:00
Jack O'Connor 6d5bd23b1e BLAKE3.svg and B3.svg 2020-01-08 14:17:24 -05:00
JP Aumasson ed81da9aaa code comment 2020-01-08 13:28:02 -05:00
JP Aumasson 6e2889cd8c readme fixes 2020-01-08 11:16:24 -05:00
JP Aumasson 3701e67d71 contributing fix 2020-01-08 09:41:12 -05:00
JP Aumasson b661fbdad5 emphasis 2020-01-08 09:31:16 -05:00
JP Aumasson 8436373d67 tweaks 2020-01-08 09:29:24 -05:00
JP Aumasson 31b4b4cd9f tweaks 2020-01-08 09:29:04 -05:00
Jack O'Connor bb95913d49 tweak the intellectual property wording 2020-01-07 18:04:02 -05:00
Jack O'Connor 60092cd6bc replace `sha256sum` with `openssl sha256`, for macOS compatibility 2020-01-07 17:57:50 -05:00
Jack O'Connor e04b8b1fed clarify that b3sum --keyed takes raw key bytes 2020-01-07 17:44:50 -05:00
Jack O'Connor 2441f2938f fill out the Usage section of the README 2020-01-07 17:39:26 -05:00
Jack O'Connor b0d775d589 simplify the docs example 2020-01-07 15:41:35 -05:00
Jack O'Connor 05f9cbdab1 username typo 2020-01-07 15:21:00 -05:00
Jack O'Connor e02be10195 replace the README graph with a bar chart 2020-01-07 15:20:56 -05:00
JP Aumasson 1a9d8013be s/zcash/ecc 2020-01-06 18:25:53 -05:00
JP Aumasson 77eba91f75 pwd hash 2020-01-05 23:28:20 -05:00
JP Aumasson 7628a08948 . 2020-01-05 23:16:20 -05:00
JP Aumasson 311218508d readme tweaks, sponsors 2020-01-05 22:56:26 -05:00
Jack O'Connor 295224d48e README wording tweaks 2020-01-05 21:06:49 -05:00
Jack O'Connor f79c648cec update the throughput graph 2020-01-05 20:42:20 -05:00
Jack O'Connor bee430b335 make the --length argument require a value 2020-01-05 19:21:47 -05:00
JP Aumasson 952ea944d9 copyrights 2020-01-05 15:49:57 -05:00
Jack O'Connor 80260dc763 switch to the new permutations 2020-01-05 14:57:17 -05:00
Jack O'Connor 34f146bbec edits to README.md 2020-01-05 14:19:06 -05:00
Jack O'Connor 9fe42d0702 warn not to use derive_key with passwords 2020-01-05 13:29:50 -05:00
Jack O'Connor 72ba63ca86 turn on AVX-512 in the test vectors 2020-01-04 21:49:38 -05:00
Jack O'Connor 5b4f79fc7f comment punctuation nit 2020-01-04 10:30:59 -05:00
JP Aumasson 86aaa13064 merge fix 2020-01-04 04:33:55 -05:00
JP Aumasson 02be834292 readme tweaks 2020-01-04 04:30:43 -05:00
Jack O'Connor dc324a189e add the guts module to share code with Bao 2019-12-29 11:55:19 -06:00
Jack O'Connor 2fac7447e0 make derive_key take a key of any length
The previous version of this API called for a key of exactly 256 bits.
That's good for optimal performance, but it would mean losing the
use-with-other-algorithms property for applications whose input keys are
a different size. There's no way for an abstraction over the previous
version to provide reliable domain separation for the "extract" step.
2019-12-28 17:56:29 -06:00
Jack O'Connor ba28064963 switch back to counting trailing 0 bits
These things are totally equivalent, and I keep going back and forth,
but now I think this is slightly clearer.
2019-12-24 16:51:43 -06:00
Jack O'Connor c9ffbdd365 use self.flags instead of self.chunk_state.flags in the reference impl
This is clearer, and because of padding requirements it doesn't change
the size of the Hasher struct. (We have a test for this.)
2019-12-24 13:30:04 -06:00
Jack O'Connor 8aae07f91a switch from counting trailing 0 bits to counting trailing 1 bits 2019-12-24 13:12:18 -06:00
Jack O'Connor 6c1155a41d get rid of unnecessary variables in push_chunk_chaining_value 2019-12-23 15:47:40 -06:00
Jack O'Connor 3016ddcb3a add a parent_cv helper function to the reference impl
Also use fewer array references (the compiler doesn't care) be more
explicit with a `new_cv` mutable variable. This clarifies
push_chunk_chaining_value just a bit. Since that's the trickiest
function in the entire thing, it's good to clarify it. (It also gets
excerpted directly into the spec.)
2019-12-23 15:14:13 -06:00
Jack O'Connor 021c7b66be switch to simplified rotations
This is a performance improvement on modern x86 chips (Skylake and
later), and the LLVM optimizer can convert these to AVX-512 rotations
when those are enabled.
2019-12-23 13:41:06 -06:00
Jack O'Connor e800e0659f rework push_chunk_chaining_value in terms of trailing 0's 2019-12-22 16:31:47 -05:00
Jack O'Connor 5fb359023c add a readme link to b3sum 2019-12-15 19:22:01 -05:00
Jack O'Connor 5f29918b7e add a LICENSE file including CC0 and Apache 2.0 2019-12-15 17:44:01 -05:00