pub struct StrobeNkPqcInitiator { /* private fields */ }Expand description
Reusable initiator config for the Strobe NK fully-PQC handshake.
- Call
StrobeNkPqcInitiator::new(responder_cme_pk)— stores the key and pre-initializes the Strobe state withAD(responder_cme_pk). - Call
.initiate(prologue, out)— encapsulates to the responder, writes msg1 intoout, and returns aStrobeNkPqcHandshake. - Send
outto the responder and receive msg2. - Call
.finish(msg2)on the handshake — returns aStrobeNkTransport.
Implementations§
Auto Trait Implementations§
impl Freeze for StrobeNkPqcInitiator
impl RefUnwindSafe for StrobeNkPqcInitiator
impl Send for StrobeNkPqcInitiator
impl Sync for StrobeNkPqcInitiator
impl Unpin for StrobeNkPqcInitiator
impl UnsafeUnpin for StrobeNkPqcInitiator
impl UnwindSafe for StrobeNkPqcInitiator
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