dev(ciphers): move blake2b.rs and incorrect_hmac_blake2b.rs to dedicated hash_functions directory

This commit is contained in:
David Niehues
2025-02-11 12:55:22 +01:00
parent 530f81b9d5
commit 6a9bbddde3
4 changed files with 21 additions and 6 deletions

View File

@@ -4,13 +4,11 @@
/// - [chacha20poly1305_ietf_libcrux]: The Chacha20Poly1305 AEAD as implemented in [libcrux](https://github.com/cryspen/libcrux) (only used when the feature `experiment_libcrux` is enabled).
/// - [incorrect_hmac_blake2b]: An (incorrect) hmac based on [blake2b].
/// - [xchacha20poly1305_ietf] The Chacha20Poly1305 AEAD as implemented in [RustCrypto](https://crates.io/crates/chacha20poly1305)
pub mod blake2b;
#[cfg(not(feature = "experiment_libcrux"))]
pub mod chacha20poly1305_ietf;
#[cfg(feature = "experiment_libcrux")]
pub mod chacha20poly1305_ietf_libcrux;
pub mod incorrect_hmac_blake2b;
pub mod xchacha20poly1305_ietf;
pub mod hash_functions;
mod hash_functions;
pub use hash_functions::{keyed_shake256};
pub use hash_functions::{blake2b, incorrect_hmac_blake2b, keyed_shake256};