dev(ciphers): add EitherHash enum and thus the functionality for choosing a hash function at runtime

This commit is contained in:
David Niehues
2025-02-11 17:19:56 +01:00
parent 6a9bbddde3
commit 760ecdc457
2 changed files with 42 additions and 0 deletions

View File

@@ -10,5 +10,6 @@ pub mod chacha20poly1305_ietf;
pub mod chacha20poly1305_ietf_libcrux;
pub mod xchacha20poly1305_ietf;
mod hash_functions;
pub mod hash_choice;
pub use hash_functions::{blake2b, incorrect_hmac_blake2b, keyed_shake256};