Struct esp_idf_sys::mbedtls_ecdh_context
source · #[repr(C)]pub struct mbedtls_ecdh_context {
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,
pub private_point_format: c_int,
pub private_Vi: mbedtls_ecp_point,
pub private_Vf: mbedtls_ecp_point,
pub private__d: mbedtls_mpi,
pub private_restart_enabled: c_int,
pub private_rs: mbedtls_ecp_restart_ctx,
}
Expand description
\warning Performing multiple operations concurrently on the same ECDSA context is not supported; objects of this type should not be shared between multiple threads. \brief The ECDH context structure.
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.
private_point_format: c_int
< The format of point export in TLS messages.
private_Vi: mbedtls_ecp_point
< The blinding value.
private_Vf: mbedtls_ecp_point
< The unblinding value.
private__d: mbedtls_mpi
< The previous \p d.
private_restart_enabled: c_int
< The flag for restartable mode.
private_rs: mbedtls_ecp_restart_ctx
< The restart context for EC computations.
Trait Implementations§
source§impl Clone for mbedtls_ecdh_context
impl Clone for mbedtls_ecdh_context
source§fn clone(&self) -> mbedtls_ecdh_context
fn clone(&self) -> mbedtls_ecdh_context
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
impl Debug for mbedtls_ecdh_context
source§impl Default for mbedtls_ecdh_context
impl Default for mbedtls_ecdh_context
impl Copy for mbedtls_ecdh_context
Auto Trait Implementations§
impl Freeze for mbedtls_ecdh_context
impl RefUnwindSafe for mbedtls_ecdh_context
impl !Send for mbedtls_ecdh_context
impl !Sync for mbedtls_ecdh_context
impl Unpin for mbedtls_ecdh_context
impl UnwindSafe for mbedtls_ecdh_context
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
)