#[repr(C)]pub struct Params {
pub curve: usize,
pub key: *const u8,
pub message: *const u8,
pub r: *mut u8,
pub s: *mut u8,
}Expand description
Parameters of ecdsa_sign
Fields§
§curve: usizeThe curve.
key: *const u8The private key scalar in SEC1 encoding.
message: *const u8The integer message in SEC1 encoding.
r: *mut u8The r signature component in SEC1 encoding.
s: *mut u8The s signature component 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