pub struct MLDSAPublicKeyExpanded<const k: usize, const l: usize, PK: MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> { /* private fields */ }Expand description
A fully expanded ML-DSA public key that includes the intermediate values needed for performing multiple verification operations against the same public key, which causes the public key struct to take up more memory, but results in more efficient repeated verify() operations.
Trait Implementations§
Source§impl<const k: usize, const l: usize, PK: Clone + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> Clone for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
impl<const k: usize, const l: usize, PK: Clone + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> Clone for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
Source§fn clone(&self) -> MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
fn clone(&self) -> MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> Debug for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> Debug for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
Source§impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> Display for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> Display for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> Eq for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
Source§impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> From<&PK> for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> From<&PK> for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
Source§impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> MLDSAPublicKeyTrait<k, l, PK_LEN> for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> MLDSAPublicKeyTrait<k, l, PK_LEN> for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
Source§impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> PartialEq for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> PartialEq for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
Source§impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> SignaturePublicKey<PK_LEN> for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
impl<const k: usize, const l: usize, PK: MLDSAPublicKeyTrait<k, l, PK_LEN> + MLDSAPublicKeyInternalTrait<k, PK_LEN>, const PK_LEN: usize> SignaturePublicKey<PK_LEN> for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>
Source§fn encode_out(&self, out: &mut [u8; PK_LEN]) -> usize
fn encode_out(&self, out: &mut [u8; PK_LEN]) -> usize
Write it out to bytes in its standard encoding.
Source§fn from_bytes(bytes: &[u8]) -> Result<Self, SignatureError>
fn from_bytes(bytes: &[u8]) -> Result<Self, SignatureError>
Read it in from bytes in its standard encoding.
Auto Trait Implementations§
impl<const k: usize, const l: usize, PK, const PK_LEN: usize> Freeze for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>where
PK: Freeze,
impl<const k: usize, const l: usize, PK, const PK_LEN: usize> RefUnwindSafe for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>where
PK: RefUnwindSafe,
impl<const k: usize, const l: usize, PK, const PK_LEN: usize> Send for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>where
PK: Send,
impl<const k: usize, const l: usize, PK, const PK_LEN: usize> Sync for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>where
PK: Sync,
impl<const k: usize, const l: usize, PK, const PK_LEN: usize> Unpin for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>where
PK: Unpin,
impl<const k: usize, const l: usize, PK, const PK_LEN: usize> UnsafeUnpin for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>where
PK: UnsafeUnpin,
impl<const k: usize, const l: usize, PK, const PK_LEN: usize> UnwindSafe for MLDSAPublicKeyExpanded<k, l, PK, PK_LEN>where
PK: UnwindSafe,
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