[go: up one dir, main page]

blake2 0.10.0

BLAKE2 hash functions
Documentation
#[cfg(feature = "reset")]
use digest::dev::{fixed_reset_test as fixed_fn, variable_reset_test as varaible_fn};
#[cfg(not(feature = "reset"))]
use digest::dev::{fixed_test as fixed_fn, variable_test as varaible_fn};
use digest::new_test;

new_test!(blake2b_fixed, "blake2b/fixed", blake2::Blake2b512, fixed_fn,);
new_test!(
    blake2b_variable,
    "blake2b/variable",
    blake2::Blake2bVar,
    varaible_fn,
);
new_test!(
    blake2s_variable,
    "blake2s/variable",
    blake2::Blake2sVar,
    varaible_fn,
);