pub struct ServerSign0;Expand description
Entry point: step 1 of the server.
Implementations§
Source§impl ServerSign0
impl ServerSign0
Sourcepub fn start<R: CryptoRng + ?Sized>(
rng: &mut R,
setup: &VerifiedSetup,
share: &ServerKeyShare,
client_id: &[u8],
digest: &[u8; 32],
hd: Option<&HdPath>,
) -> Result<(ServerSign1, Vec<u8>)>
pub fn start<R: CryptoRng + ?Sized>( rng: &mut R, setup: &VerifiedSetup, share: &ServerKeyShare, client_id: &[u8], digest: &[u8; 32], hd: Option<&HdPath>, ) -> Result<(ServerSign1, Vec<u8>)>
Samples k₂, returns the session state and SignMsg1 (envelope bytes).
Sessions are independent; setup is only read (FR-G5).
Auto Trait Implementations§
impl Freeze for ServerSign0
impl RefUnwindSafe for ServerSign0
impl Send for ServerSign0
impl Sync for ServerSign0
impl Unpin for ServerSign0
impl UnsafeUnpin for ServerSign0
impl UnwindSafe for ServerSign0
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