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