pub struct MlDsa65Ed25519;Expand description
Marker struct implementing quantaegis_core::Signature for IETF LAMPS MLDSA65-Ed25519-SHA512.
Implementations§
Source§impl MlDsa65Ed25519
impl MlDsa65Ed25519
Sourcepub fn from_seed(seed: &[u8; 64]) -> (VerifyingKey, SigningKey)
pub fn from_seed(seed: &[u8; 64]) -> (VerifyingKey, SigningKey)
Derives a (VerifyingKey, SigningKey) pair deterministically from a 64-byte composite seed
(mldsa65_seed[32] || ed25519_seed[32]).
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.
Trait Implementations§
Source§impl Signature for MlDsa65Ed25519
impl Signature for MlDsa65Ed25519
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).
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)>
Auto Trait Implementations§
impl Freeze for MlDsa65Ed25519
impl RefUnwindSafe for MlDsa65Ed25519
impl Send for MlDsa65Ed25519
impl Sync for MlDsa65Ed25519
impl Unpin for MlDsa65Ed25519
impl UnsafeUnpin for MlDsa65Ed25519
impl UnwindSafe for MlDsa65Ed25519
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