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