#[repr(C)]pub struct ltc_ecc_set_type {
pub size: c_int,
pub name: *const c_char,
pub prime: *const c_char,
pub B: *const c_char,
pub order: *const c_char,
pub Gx: *const c_char,
pub Gy: *const c_char,
}Expand description
Structure defines a NIST GF(p) curve
Fields§
§size: c_intThe size of the curve in octets
name: *const c_charname of curve
prime: *const c_charThe prime that defines the field the curve is in (encoded in hex)
B: *const c_charThe fields B param (hex)
order: *const c_charThe order of the curve (hex)
Gx: *const c_charThe x co-ordinate of the base point on the curve (hex)
Gy: *const c_charThe y co-ordinate of the base point on the curve (hex)
Trait Implementations§
Source§impl Clone for ltc_ecc_set_type
impl Clone for ltc_ecc_set_type
Source§impl Debug for ltc_ecc_set_type
impl Debug for ltc_ecc_set_type
impl Copy for ltc_ecc_set_type
Auto Trait Implementations§
impl Freeze for ltc_ecc_set_type
impl RefUnwindSafe for ltc_ecc_set_type
impl !Send for ltc_ecc_set_type
impl !Sync for ltc_ecc_set_type
impl Unpin for ltc_ecc_set_type
impl UnwindSafe for ltc_ecc_set_type
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more