Function sodoken::kx::server_session_keys
source · pub fn server_session_keys<R, T, SPub, SSec, CPub>(
rx: R,
tx: T,
server_pk: SPub,
server_sk: SSec,
client_pk: CPub
) -> SodokenResult<()>where
R: Into<BufWriteSized<SESSIONKEYBYTES>> + 'static + Send,
T: Into<BufWriteSized<SESSIONKEYBYTES>> + 'static + Send,
SPub: Into<BufReadSized<PUBLICKEYBYTES>> + 'static + Send,
SSec: Into<BufReadSized<SECRETKEYBYTES>> + 'static + Send,
CPub: Into<BufReadSized<PUBLICKEYBYTES>> + 'static + Send,
Expand description
Generate session keys from the server perspective.