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