pub struct SlhDsaShake192f;Expand description
Marker type implementing [quantaegis_core::Signature] for
SLH-DSA-SHAKE-192f (NIST Security Category 3).
Implementations§
Source§impl SlhDsaShake192f
impl SlhDsaShake192f
Sourcepub fn keygen_into<R: CryptoRng + ?Sized>(
rng: &mut R,
vk_out: &mut VerifyingKey,
sk_out: &mut SigningKey,
) -> Result<()>
pub fn keygen_into<R: CryptoRng + ?Sized>( rng: &mut R, vk_out: &mut VerifyingKey, sk_out: &mut SigningKey, ) -> Result<()>
Generates a fresh key pair directly into caller-owned storage and volatile-zeroizes
stack temporaries (FIPS 205, Algorithm 21).
Sourcepub fn sign_deterministic(
sk: &SigningKey,
msg: &[u8],
ctx: &[u8],
) -> Result<Signature>
pub fn sign_deterministic( sk: &SigningKey, msg: &[u8], ctx: &[u8], ) -> Result<Signature>
Signs msg with context ctx in deterministic mode (opt_rand = PK.seed).
Trait Implementations§
Source§impl Signature for SlhDsaShake192f
impl Signature for SlhDsaShake192f
Source§fn keygen<R: CryptoRng + ?Sized>(
rng: &mut R,
) -> Result<(Self::VerifyingKey, Self::SigningKey)>
fn keygen<R: CryptoRng + ?Sized>( rng: &mut R, ) -> Result<(Self::VerifyingKey, Self::SigningKey)>
Generates a fresh key pair by value; FIPS/zeroization-critical callers should prefer
Self::keygen_into to avoid safe-Rust return-slot staging copies.
Source§type VerifyingKey = VerifyingKey
type VerifyingKey = VerifyingKey
Public verifying key type.
Source§type SigningKey = SigningKey
type SigningKey = SigningKey
Private signing key type (must zeroize on drop).
Auto Trait Implementations§
impl Freeze for SlhDsaShake192f
impl RefUnwindSafe for SlhDsaShake192f
impl Send for SlhDsaShake192f
impl Sync for SlhDsaShake192f
impl Unpin for SlhDsaShake192f
impl UnsafeUnpin for SlhDsaShake192f
impl UnwindSafe for SlhDsaShake192f
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more