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