pub struct PqcAlgorithms {
pub ml_kem_768: bool,
pub ml_dsa_65: bool,
pub hybrid_x25519_ml_kem: bool,
pub hybrid_ed25519_ml_dsa: bool,
}
Expand description
Post-Quantum Cryptography algorithms configuration
This parameter advertises which PQC algorithms are supported by the endpoint. When both endpoints support PQC, they can negotiate the use of quantum-resistant algorithms.
Fields§
§ml_kem_768: bool
ML-KEM-768 (NIST FIPS 203) support for key encapsulation
ml_dsa_65: bool
ML-DSA-65 (NIST FIPS 204) support for digital signatures
hybrid_x25519_ml_kem: bool
Hybrid X25519+ML-KEM-768 key exchange
hybrid_ed25519_ml_dsa: bool
Hybrid Ed25519+ML-DSA-65 signatures
Trait Implementations§
Source§impl Clone for PqcAlgorithms
impl Clone for PqcAlgorithms
Source§fn clone(&self) -> PqcAlgorithms
fn clone(&self) -> PqcAlgorithms
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PqcAlgorithms
impl Debug for PqcAlgorithms
Source§impl Default for PqcAlgorithms
impl Default for PqcAlgorithms
Source§fn default() -> PqcAlgorithms
fn default() -> PqcAlgorithms
Returns the “default value” for a type. Read more
Source§impl PartialEq for PqcAlgorithms
impl PartialEq for PqcAlgorithms
impl Eq for PqcAlgorithms
impl StructuralPartialEq for PqcAlgorithms
Auto Trait Implementations§
impl Freeze for PqcAlgorithms
impl RefUnwindSafe for PqcAlgorithms
impl Send for PqcAlgorithms
impl Sync for PqcAlgorithms
impl Unpin for PqcAlgorithms
impl UnwindSafe for PqcAlgorithms
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.