pub struct P256SharedSecret(pub [u8; 64]);Expand description
Output of a scalar multiplication between a public key and a secret key.
This value is NOT (!) safe for use as a key and needs to be processed in a round of key derivation, to ensure both that the output is uniformly random and that unkown key share attacks can not happen.
Tuple Fields§
§0: [u8; 64]Trait Implementations§
Auto Trait Implementations§
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