Struct mbedtls_sys::ecp_group
source · [−]#[repr(C)]pub struct ecp_group {Show 15 fields
pub id: ecp_group_id,
pub P: mpi,
pub A: mpi,
pub B: mpi,
pub G: ecp_point,
pub N: mpi,
pub pbits: size_t,
pub nbits: size_t,
pub h: c_uint,
pub modp: Option<unsafe extern "C" fn(arg1: *mut mpi) -> c_int>,
pub t_pre: Option<unsafe extern "C" fn(arg1: *mut ecp_point, arg2: *mut c_void) -> c_int>,
pub t_post: Option<unsafe extern "C" fn(arg1: *mut ecp_point, arg2: *mut c_void) -> c_int>,
pub t_data: *mut c_void,
pub T: *mut ecp_point,
pub T_size: size_t,
}
Fields
id: ecp_group_id
P: mpi
A: mpi
B: mpi
G: ecp_point
N: mpi
pbits: size_t
nbits: size_t
h: c_uint
modp: Option<unsafe extern "C" fn(arg1: *mut mpi) -> c_int>
t_pre: Option<unsafe extern "C" fn(arg1: *mut ecp_point, arg2: *mut c_void) -> c_int>
t_post: Option<unsafe extern "C" fn(arg1: *mut ecp_point, arg2: *mut c_void) -> c_int>
t_data: *mut c_void
T: *mut ecp_point
T_size: size_t
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ecp_group
impl !Send for ecp_group
impl !Sync for ecp_group
impl Unpin for ecp_group
impl UnwindSafe for ecp_group
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more