Function sodoken::kx::client_session_keys[][src]

pub fn client_session_keys<R, T, CPub, CSec, SPub>(
    rx: R,
    tx: T,
    client_pk: CPub,
    client_sk: CSec,
    server_pk: SPub
) -> SodokenResult<()> where
    R: Into<BufWriteSized<SESSIONKEYBYTES>> + 'static + Send,
    T: Into<BufWriteSized<SESSIONKEYBYTES>> + 'static + Send,
    CPub: Into<BufReadSized<PUBLICKEYBYTES>> + 'static + Send,
    CSec: Into<BufReadSized<SECRETKEYBYTES>> + 'static + Send,
    SPub: Into<BufReadSized<PUBLICKEYBYTES>> + 'static + Send
Expand description

Generate session keys from the client perspective.