pub struct NistP256Params {
pub p: [u8; 32],
pub a: [u8; 32],
pub b: [u8; 32],
pub g_x: [u8; 32],
pub g_y: [u8; 32],
pub n: [u8; 32],
pub h: u8,
}Expand description
NIST P-256 curve parameters
Fields§
§p: [u8; 32]Prime modulus
a: [u8; 32]Curve coefficient a
b: [u8; 32]Curve coefficient b
g_x: [u8; 32]Generator x-coordinate
g_y: [u8; 32]Generator y-coordinate
n: [u8; 32]Order of the curve
h: u8Cofactor
Auto Trait Implementations§
impl Freeze for NistP256Params
impl RefUnwindSafe for NistP256Params
impl Send for NistP256Params
impl Sync for NistP256Params
impl Unpin for NistP256Params
impl UnwindSafe for NistP256Params
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