pub(crate) struct Layout {
pub(crate) classical_share_len: usize,
pub(crate) post_quantum_client_share_len: usize,
pub(crate) post_quantum_server_share_len: usize,
pub(crate) post_quantum_first: bool,
}
Fields§
Length of classical key share.
Length of post-quantum key share sent by client
Length of post-quantum key share sent by server
post_quantum_first: bool
Whether the post-quantum element comes first in shares and secrets.
For dismal and unprincipled reasons, SECP256R1MLKEM768 has the classical element first, while X25519MLKEM768 has it second.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnwindSafe for Layout
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