#[repr(C)]pub struct Params {
pub curve: usize,
pub n: *const u8,
pub in_x: *const u8,
pub in_y: *const u8,
pub out_x: *mut u8,
pub out_y: *mut u8,
}Expand description
Parameters of point_mul
Fields§
§curve: usizeThe curve.
n: *const u8The scalar in SEC1 encoding.
in_x: *const u8The x coordinate of the input point in SEC1 encoding.
in_y: *const u8The y coordinate of the input point in SEC1 encoding.
out_x: *mut u8The x coordinate of the output point in SEC1 encoding.
out_y: *mut u8The y coordinate of the output point in SEC1 encoding.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl !Send for Params
impl !Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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