aboutsummaryrefslogtreecommitdiff
path: root/test_vectors/src
AgeCommit message (Collapse)Author
2025-03-30add the `hazmat` module and deprecate the undocumented `guts` moduleJack O'Connor
https://github.com/BLAKE3-team/BLAKE3/pull/458
2025-03-18make the test_vectors tests WASM-compatibleJack O'Connor
2023-05-23Fix typosJoel Rosdahl
2023-03-25upgrade all Cargo.toml files to edition=2021Jack O'Connor
The MSRV is already 1.60, so this doesn't affect much. The only impact to other code is that we no longer need to explicitly import TryInto.
2021-11-04add Hasher::countJack O'Connor
2021-03-28more cleaup of undocumented APIJack O'Connor
2021-02-28make derive_key() return an arrayJack O'Connor
2020-09-29add more test cases at shorter input lengthsJack O'Connor
2020-06-29stop being a jerk and add the context string to test_vectors.jsonJack O'Connor
2020-01-22add a larger test caseJack O'Connor
One thing I like to test is that, if I hack simd_degree to be higher than MAX_SIMD_DEGREE, assertions fire. This requires a test case long enough to exceed that number of chunks.
2020-01-12include the right context string in the test_vectors.json commentJack O'Connor
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.
2019-12-28make derive_key take a key of any lengthJack O'Connor
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-12fix the test_vectors buildJack O'Connor
2019-12-11account for Windows newlines when checking for test vector changesJack O'Connor
2019-12-11test_checked_in_vectors_up_to_dateJack O'Connor
2019-12-11test against test_vectors.json in CIJack O'Connor
2019-12-11add the test_vectors sub-crateJack O'Connor