mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-18 13:24:38 +03:00
This commit introduces two kinds of benchmarks: 1. Cryptographic Primitives. Measures the performance of all available implementations of cryptographic algorithms using traditional benchmarking. Uses criterion. 2. Protocol Runs. Measures the time each step in the protocol takes. Measured using a tracing-based approach. The benchmarks are run on CI and an interactive visual overview is written to the gh-pages branch. If a benchmark takes more than twice the time than the reference commit (for PR: the main branch), the action fails.
18 lines
420 B
Rust
18 lines
420 B
Rust
//! Contains the implementations of the crypto algorithms used throughout Rosenpass.
|
|
|
|
pub mod keyed_hash;
|
|
|
|
pub use custom::incorrect_hmac_blake2b;
|
|
pub use rust_crypto::{blake2b, keyed_shake256};
|
|
|
|
pub mod custom;
|
|
pub mod rust_crypto;
|
|
|
|
#[cfg(any(
|
|
feature = "experiment_libcrux_blake2",
|
|
feature = "experiment_libcrux_chachapoly",
|
|
feature = "experiment_libcrux_kyber",
|
|
feature = "bench"
|
|
))]
|
|
pub mod libcrux;
|