mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-05-23 01:59:44 +00:00
chore(crypto_primitives_bench): switch allow to expect, fix doc_markdown inline
This commit is contained in:
parent
ba65b168dd
commit
dbe8ac6160
@ -1,23 +1,19 @@
|
|||||||
//! Wallet-side cryptographic microbenchmarks.
|
//! Cryptographic primitive microbenchmarks used by client/wallet code.
|
||||||
//!
|
//!
|
||||||
//! Measures:
|
//! Measures:
|
||||||
//! - KeyChain::new_os_random (mnemonic → SSK → NSK/VSK + public keys)
|
//! - `KeyChain::new_os_random` (mnemonic → SSK → NSK/VSK + public keys)
|
||||||
//! - KeyChain::new_mnemonic (same, but mnemonic exposed)
|
//! - `KeyChain::new_mnemonic` (same, but mnemonic exposed)
|
||||||
//! - SharedSecretKey::new (Diffie-Hellman shared key derivation, the per-recipient cost)
|
//! - `SharedSecretKey::new` (Diffie-Hellman shared key derivation, the per-recipient cost)
|
||||||
//! - EncryptionScheme::encrypt / decrypt (Account note encryption)
|
//! - `EncryptionScheme::encrypt` / `decrypt` (Account note encryption)
|
||||||
//!
|
//!
|
||||||
//! Reports best-of-N wall time per operation. No live stack required.
|
//! Reports best-of-N wall time per operation. No live stack required.
|
||||||
|
|
||||||
#![allow(
|
#![expect(
|
||||||
clippy::arithmetic_side_effects,
|
clippy::arithmetic_side_effects,
|
||||||
clippy::as_conversions,
|
clippy::as_conversions,
|
||||||
clippy::cast_precision_loss,
|
clippy::cast_precision_loss,
|
||||||
clippy::doc_markdown,
|
|
||||||
clippy::float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
clippy::print_stderr,
|
|
||||||
clippy::print_stdout,
|
clippy::print_stdout,
|
||||||
clippy::std_instead_of_alloc,
|
|
||||||
clippy::std_instead_of_core,
|
|
||||||
reason = "Bench tool"
|
reason = "Bench tool"
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user