Struct esp_idf_svc::sys::mbedtls_ecp_point
source · #[repr(C)]pub struct mbedtls_ecp_point {
pub private_X: mbedtls_mpi,
pub private_Y: mbedtls_mpi,
pub private_Z: mbedtls_mpi,
}
Expand description
\brief The ECP point structure, in Jacobian coordinates.
\note All functions expect and return points satisfying
the following condition: Z == 0
or
Z == 1
. Other values of \p Z are
used only by internal functions.
The point is zero, or “at infinity”, if Z == 0
.
Otherwise, \p X and \p Y are its standard (affine)
coordinates.
Fields§
§private_X: mbedtls_mpi
§private_Y: mbedtls_mpi
§private_Z: mbedtls_mpi
Trait Implementations§
source§impl Clone for mbedtls_ecp_point
impl Clone for mbedtls_ecp_point
source§fn clone(&self) -> mbedtls_ecp_point
fn clone(&self) -> mbedtls_ecp_point
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_point
impl Debug for mbedtls_ecp_point
source§impl Default for mbedtls_ecp_point
impl Default for mbedtls_ecp_point
source§fn default() -> mbedtls_ecp_point
fn default() -> mbedtls_ecp_point
Returns the “default value” for a type. Read more
impl Copy for mbedtls_ecp_point
Auto Trait Implementations§
impl Freeze for mbedtls_ecp_point
impl RefUnwindSafe for mbedtls_ecp_point
impl !Send for mbedtls_ecp_point
impl !Sync for mbedtls_ecp_point
impl Unpin for mbedtls_ecp_point
impl UnwindSafe for mbedtls_ecp_point
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: 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
)§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
)