Now it is crashing:
#[cfg(test)]
#[test]
fn blake2b_trivial() {
use blake2::{Blake2bMac512, digest::KeyInit};
<Blake2bMac512 as KeyInit>::new(&Default::default());
}
Because of this
|
core: <$hash>::new_with_params(key, &[], key.len(), OutSize::USIZE), |
This line is passing key as salt, but it should not.