pub struct StrobeKkPqcInitiator { /* private fields */ }Expand description
Reusable initiator config for the Strobe KK fully-PQC handshake.
- Call
StrobeKkPqcInitiator::new(responder_cme_pk, initiator_cme_pk, initiator_sk). - Call
.initiate(prologue, out)— encapsulates to the responder, writes msg1 intoout, and returns aStrobeKkPqcHandshake. - Send
outto the responder and receive msg2. - Call
.finish(msg2)on the handshake — returns aStrobeNkTransport.
Implementations§
Source§impl StrobeKkPqcInitiator
impl StrobeKkPqcInitiator
pub fn new( responder_cme_pk: &ClassicMcEliecePublicKey, initiator_cme_pk: &ClassicMcEliecePublicKey, initiator_sk: ClassicMcElieceSecretKey, ) -> Self
Auto Trait Implementations§
impl Freeze for StrobeKkPqcInitiator
impl RefUnwindSafe for StrobeKkPqcInitiator
impl Send for StrobeKkPqcInitiator
impl Sync for StrobeKkPqcInitiator
impl Unpin for StrobeKkPqcInitiator
impl UnsafeUnpin for StrobeKkPqcInitiator
impl UnwindSafe for StrobeKkPqcInitiator
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