pub struct StrobeKkPqcResponder { /* private fields */ }Expand description
Responder side of the Strobe KK fully-PQC handshake.
- Call
StrobeKkPqcResponder::new(responder_sk, responder_pk, initiator_pk). - Receive msg1 from the initiator.
- Call
.respond(prologue, msg1, out)— verifies msg1, builds msg2 inout, and returns aStrobeNkTransport.
Implementations§
Source§impl StrobeKkPqcResponder
impl StrobeKkPqcResponder
pub fn new( responder_sk: ClassicMcElieceSecretKey, responder_pk: &ClassicMcEliecePublicKey, initiator_pk: ClassicMcEliecePublicKey, ) -> Self
Auto Trait Implementations§
impl Freeze for StrobeKkPqcResponder
impl RefUnwindSafe for StrobeKkPqcResponder
impl Send for StrobeKkPqcResponder
impl Sync for StrobeKkPqcResponder
impl Unpin for StrobeKkPqcResponder
impl UnsafeUnpin for StrobeKkPqcResponder
impl UnwindSafe for StrobeKkPqcResponder
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