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