pub struct VerifierState { /* private fields */ }Expand description
State held by the Verifier between sending (shareV, confirmV) and receiving confirmP.
Implementations§
Source§impl VerifierState
impl VerifierState
Sourcepub fn finish(
self,
confirm_p: &[u8],
) -> Result<Spake2PlusOutput, Spake2PlusError>
pub fn finish( self, confirm_p: &[u8], ) -> Result<Spake2PlusOutput, Spake2PlusError>
Finish the SPAKE2+ protocol by verifying the Prover’s confirmation MAC.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VerifierState
impl RefUnwindSafe for VerifierState
impl Send for VerifierState
impl Sync for VerifierState
impl Unpin for VerifierState
impl UnsafeUnpin for VerifierState
impl UnwindSafe for VerifierState
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