Struct esp_idf_sys::mbedtls_ecdh_context
source · #[repr(C)]pub struct mbedtls_ecdh_context {
pub private_point_format: u8,
pub private_grp_id: mbedtls_ecp_group_id,
pub private_var: mbedtls_ecdh_variant,
pub private_ctx: mbedtls_ecdh_context__bindgen_ty_1,
}
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_point_format: u8
< The format of point export in TLS messages as defined in RFC 4492.
private_grp_id: mbedtls_ecp_group_id
< The elliptic curve used.
private_var: mbedtls_ecdh_variant
< The ECDH implementation/structure used.
private_ctx: mbedtls_ecdh_context__bindgen_ty_1
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 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
)