feat: add secret_int macro

This commit is contained in:
2025-10-13 19:01:52 +03:00
parent 27b31d1fcc
commit e75eff8cd5
9 changed files with 366 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ pub trait BlockLike: Sized + Copy + Clone {
/// Minimal trait describing a fixed-size key-like value.
///
/// Concrete key types (e.g. `Secret<const N: usize>`) should implement this.
pub trait KeyLike: Sized + Copy + Clone {
pub trait KeyLike: Sized {
/// Size of the key in bytes.
const SIZE: usize;