Struct esp_idf_sys::mbedtls_ecdh_context
source · [−]#[repr(C)]pub struct mbedtls_ecdh_context {
pub grp: mbedtls_ecp_group,
pub d: mbedtls_mpi,
pub Q: mbedtls_ecp_point,
pub Qp: mbedtls_ecp_point,
pub z: mbedtls_mpi,
pub point_format: c_int,
pub Vi: mbedtls_ecp_point,
pub Vf: mbedtls_ecp_point,
pub _d: mbedtls_mpi,
}
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
grp: mbedtls_ecp_group
< The elliptic curve used.
d: mbedtls_mpi
< The private key.
Q: mbedtls_ecp_point
< The public key.
Qp: mbedtls_ecp_point
< The value of the public key of the peer.
z: mbedtls_mpi
< The shared secret.
point_format: c_int
< The format of point export in TLS messages.
Vi: mbedtls_ecp_point
< The blinding value.
Vf: mbedtls_ecp_point
< The unblinding value.
_d: mbedtls_mpi
< The previous \p d.
Trait Implementations
sourceimpl Clone for mbedtls_ecdh_context
impl Clone for mbedtls_ecdh_context
sourcefn clone(&self) -> mbedtls_ecdh_context
fn clone(&self) -> mbedtls_ecdh_context
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for mbedtls_ecdh_context
impl Debug for mbedtls_ecdh_context
sourceimpl Default for mbedtls_ecdh_context
impl Default for mbedtls_ecdh_context
impl Copy for mbedtls_ecdh_context
Auto Trait Implementations
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> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more