pub struct StrobeNkHybridInitiator { /* private fields */ }Expand description
Reusable initiator config for the Strobe NK hybrid handshake.
- Call
StrobeNkHybridInitiator::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 aStrobeNkHybridHandshake. - Send
outto the responder and receive msg2. - Call
.finish(msg2)on the handshake — returns aStrobeNkTransport.
Implementations§
Source§impl StrobeNkHybridInitiator
impl StrobeNkHybridInitiator
pub fn new(responder_cme_pk: &ClassicMcEliecePublicKey) -> Self
Auto Trait Implementations§
impl Freeze for StrobeNkHybridInitiator
impl RefUnwindSafe for StrobeNkHybridInitiator
impl Send for StrobeNkHybridInitiator
impl Sync for StrobeNkHybridInitiator
impl Unpin for StrobeNkHybridInitiator
impl UnsafeUnpin for StrobeNkHybridInitiator
impl UnwindSafe for StrobeNkHybridInitiator
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