pub struct SlhDsaShake256s;Expand description
Marker type implementing [quantaegis_core::Signature] for
SLH-DSA-SHAKE-256s (NIST Security Category 5).
Implementations§
Source§impl SlhDsaShake256s
impl SlhDsaShake256s
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 SlhDsaShake256s
impl Signature for SlhDsaShake256s
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 SlhDsaShake256s
impl RefUnwindSafe for SlhDsaShake256s
impl Send for SlhDsaShake256s
impl Sync for SlhDsaShake256s
impl Unpin for SlhDsaShake256s
impl UnsafeUnpin for SlhDsaShake256s
impl UnwindSafe for SlhDsaShake256s
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