pub struct EcdhP521;Expand description
ECDH over P-521.
Implementations§
Trait Implementations§
Source§impl KeyAgreement for EcdhP521
impl KeyAgreement for EcdhP521
Source§const PRIVATE_KEY_LEN: usize = 66
const PRIVATE_KEY_LEN: usize = 66
Private key (scalar) length in bytes.
Source§const PUBLIC_KEY_LEN: usize = 133
const PUBLIC_KEY_LEN: usize = 133
Public key (encoded point) length in bytes.
Source§const SHARED_SECRET_LEN: usize = 66
const SHARED_SECRET_LEN: usize = 66
Shared secret length in bytes.
Auto Trait Implementations§
impl Freeze for EcdhP521
impl RefUnwindSafe for EcdhP521
impl Send for EcdhP521
impl Sync for EcdhP521
impl Unpin for EcdhP521
impl UnsafeUnpin for EcdhP521
impl UnwindSafe for EcdhP521
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