Struct esp_idf_sys::mbedtls_ecp_keypair
source · #[repr(C)]pub struct mbedtls_ecp_keypair {
pub private_grp: mbedtls_ecp_group,
pub private_d: mbedtls_mpi,
pub private_Q: mbedtls_ecp_point,
}
Expand description
\brief The ECP key-pair structure.
A generic key-pair that may be used for ECDSA and fixed ECDH, for example.
\note Members are deliberately in the same order as in the ::mbedtls_ecdsa_context structure.
Fields§
§private_grp: mbedtls_ecp_group
< Elliptic curve and base point
private_d: mbedtls_mpi
< our secret value
private_Q: mbedtls_ecp_point
< our public value
Trait Implementations§
source§impl Clone for mbedtls_ecp_keypair
impl Clone for mbedtls_ecp_keypair
source§fn clone(&self) -> mbedtls_ecp_keypair
fn clone(&self) -> mbedtls_ecp_keypair
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_ecp_keypair
impl Debug for mbedtls_ecp_keypair
source§impl Default for mbedtls_ecp_keypair
impl Default for mbedtls_ecp_keypair
impl Copy for mbedtls_ecp_keypair
Auto Trait Implementations§
impl Freeze for mbedtls_ecp_keypair
impl RefUnwindSafe for mbedtls_ecp_keypair
impl !Send for mbedtls_ecp_keypair
impl !Sync for mbedtls_ecp_keypair
impl Unpin for mbedtls_ecp_keypair
impl UnwindSafe for mbedtls_ecp_keypair
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
)