pub struct SessionKeys {
pub send: [u8; 32],
pub recv: [u8; 32],
pub transcript: [u8; 32],
}Expand description
Session keys from ephemeral X25519 (forward secrecy). Replay: transcript hash bound into HKDF.
Fields§
§send: [u8; 32]§recv: [u8; 32]§transcript: [u8; 32]Auto Trait Implementations§
impl Freeze for SessionKeys
impl RefUnwindSafe for SessionKeys
impl Send for SessionKeys
impl Sync for SessionKeys
impl Unpin for SessionKeys
impl UnsafeUnpin for SessionKeys
impl UnwindSafe for SessionKeys
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