Struct esp_idf_sys::mbedtls_ecp_point
source · [−]#[repr(C)]pub struct mbedtls_ecp_point {
pub X: mbedtls_mpi,
pub Y: mbedtls_mpi,
pub 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
X: mbedtls_mpi
< The X coordinate of the ECP point.
Y: mbedtls_mpi
< The Y coordinate of the ECP point.
Z: mbedtls_mpi
< The Z coordinate of the ECP point.
Trait Implementations
sourceimpl Clone for mbedtls_ecp_point
impl Clone for mbedtls_ecp_point
sourcefn clone(&self) -> mbedtls_ecp_point
fn clone(&self) -> mbedtls_ecp_point
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_ecp_point
impl Debug for mbedtls_ecp_point
sourceimpl Default for mbedtls_ecp_point
impl Default for mbedtls_ecp_point
impl Copy for mbedtls_ecp_point
Auto Trait Implementations
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> 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