pub struct P384;Expand description
The P-384 curve.
Trait Implementations§
impl Copy for P384
Source§impl Curve for P384
impl Curve for P384
Source§const B: Fp
const B: Fp
b = 0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875a
c656398d8a2ed19d2a85c8edd3ec2aef
Source§const FIELD_BYTES: usize = 48
const FIELD_BYTES: usize = 48
Width of an encoded field element.
Source§const SCALAR_BYTES: usize = 48
const SCALAR_BYTES: usize = 48
Width of an encoded scalar.
Source§const ORDER_BITS: usize = 384
const ORDER_BITS: usize = 384
Bit length of the group order,
qlen in RFC 6979. Read moreSource§fn field_from_slice(bytes: &[u8]) -> Option<Fp>
fn field_from_slice(bytes: &[u8]) -> Option<Fp>
Decode a field element from exactly
Self::FIELD_BYTES bytes.Source§fn scalar_from_slice(bytes: &[u8]) -> Option<Fn>
fn scalar_from_slice(bytes: &[u8]) -> Option<Fn>
Decode a scalar from exactly
Self::SCALAR_BYTES bytes, rejecting a
non-canonical encoding.Source§impl EcdsaCurve for P384
impl EcdsaCurve for P384
Source§impl HasGeneratorTable for P384
impl HasGeneratorTable for P384
Auto Trait Implementations§
impl Freeze for P384
impl RefUnwindSafe for P384
impl Send for P384
impl Sync for P384
impl Unpin for P384
impl UnsafeUnpin for P384
impl UnwindSafe for P384
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