1
0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-09-21 08:11:36 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Jack O'Connor
b04974461a include the right context string in the test_vectors.json comment
I must've written the comment one way, and then changed the context
string later, without realizing that I'd copied it. Apologies to
everyone whose time I wasted with this.

Fixes https://github.com/BLAKE3-team/BLAKE3/issues/15.
2020-01-12 17:07:23 -05: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
b9a05913ee fix the test_vectors build 2019-12-12 14:07:58 -05:00
Jack O'Connor
c8d21fab95 account for Windows newlines when checking for test vector changes 2019-12-11 22:41:59 -05:00
Jack O'Connor
d68882da0d test_checked_in_vectors_up_to_date 2019-12-11 11:04:41 -05:00
Jack O'Connor
c81d5c2522 test against test_vectors.json in CI 2019-12-11 10:50:18 -05:00
Jack O'Connor
d183149b2e add the test_vectors sub-crate 2019-12-11 10:14:24 -05:00