Struct esp_idf_sys::mbedtls_ecdh_context_mbed
source · #[repr(C)]pub struct mbedtls_ecdh_context_mbed {
pub private_grp: mbedtls_ecp_group,
pub private_d: mbedtls_mpi,
pub private_Q: mbedtls_ecp_point,
pub private_Qp: mbedtls_ecp_point,
pub private_z: mbedtls_mpi,
}
Expand description
The context used by the default ECDH implementation.
Later versions might change the structure of this context, therefore users should not make any assumptions about the structure of mbedtls_ecdh_context_mbed.
Fields§
§private_grp: mbedtls_ecp_group
< The elliptic curve used.
private_d: mbedtls_mpi
< The private key.
private_Q: mbedtls_ecp_point
< The public key.
private_Qp: mbedtls_ecp_point
< The value of the public key of the peer.
private_z: mbedtls_mpi
< The shared secret.
Trait Implementations§
source§impl Clone for mbedtls_ecdh_context_mbed
impl Clone for mbedtls_ecdh_context_mbed
source§fn clone(&self) -> mbedtls_ecdh_context_mbed
fn clone(&self) -> mbedtls_ecdh_context_mbed
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for mbedtls_ecdh_context_mbed
impl Debug for mbedtls_ecdh_context_mbed
source§impl Default for mbedtls_ecdh_context_mbed
impl Default for mbedtls_ecdh_context_mbed
impl Copy for mbedtls_ecdh_context_mbed
Auto Trait Implementations§
impl Freeze for mbedtls_ecdh_context_mbed
impl RefUnwindSafe for mbedtls_ecdh_context_mbed
impl !Send for mbedtls_ecdh_context_mbed
impl !Sync for mbedtls_ecdh_context_mbed
impl Unpin for mbedtls_ecdh_context_mbed
impl UnwindSafe for mbedtls_ecdh_context_mbed
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)