pub struct NistP384;
Expand description
NIST P-384 elliptic curve.
Trait Implementations§
source§impl AffineArithmetic for NistP384
Available on crate feature arithmetic
only.
impl AffineArithmetic for NistP384
Available on crate feature
arithmetic
only.§type AffinePoint = AffinePoint<NistP384>
type AffinePoint = AffinePoint<NistP384>
Elliptic curve point in affine coordinates.
source§impl DigestPrimitive for NistP384
Available on crate features ecdsa-core
and sha384
only.
impl DigestPrimitive for NistP384
Available on crate features
ecdsa-core
and sha384
only.source§impl Ord for NistP384
impl Ord for NistP384
source§impl PartialEq<NistP384> for NistP384
impl PartialEq<NistP384> for NistP384
source§impl PartialOrd<NistP384> for NistP384
impl PartialOrd<NistP384> for NistP384
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PointCompaction for NistP384
impl PointCompaction for NistP384
source§const COMPACT_POINTS: bool = false
const COMPACT_POINTS: bool = false
NIST P-384 points are typically uncompressed.
source§impl PointCompression for NistP384
impl PointCompression for NistP384
source§const COMPRESS_POINTS: bool = false
const COMPRESS_POINTS: bool = false
NIST P-384 points are typically uncompressed.
source§impl PrimeCurveArithmetic for NistP384
Available on crate feature arithmetic
only.
impl PrimeCurveArithmetic for NistP384
Available on crate feature
arithmetic
only.§type CurveGroup = ProjectivePoint<NistP384>
type CurveGroup = ProjectivePoint<NistP384>
Prime order elliptic curve group.
source§impl PrimeCurveParams for NistP384
Available on crate feature arithmetic
only.
impl PrimeCurveParams for NistP384
Available on crate feature
arithmetic
only.source§const EQUATION_A: FieldElement = _
const EQUATION_A: FieldElement = _
a = -3 (0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc)
source§const EQUATION_B: FieldElement = _
const EQUATION_B: FieldElement = _
b = b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef
source§const GENERATOR: (FieldElement, FieldElement) = _
const GENERATOR: (FieldElement, FieldElement) = _
Base point of P-384.
Defined in FIPS 186-4 § D.1.2.4:
Gₓ = aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98
59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7
Gᵧ = 3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c
e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f
NOTE: coordinate field elements have been translated into the Montgomery domain.
§type FieldElement = FieldElement
type FieldElement = FieldElement
Base field element type.
source§impl ProjectiveArithmetic for NistP384
Available on crate feature arithmetic
only.
impl ProjectiveArithmetic for NistP384
Available on crate feature
arithmetic
only.§type ProjectivePoint = ProjectivePoint<NistP384>
type ProjectivePoint = ProjectivePoint<NistP384>
Elliptic curve point in projective coordinates. Read more
source§impl ScalarArithmetic for NistP384
Available on crate feature arithmetic
only.
impl ScalarArithmetic for NistP384
Available on crate feature
arithmetic
only.source§impl SignPrimitive<NistP384> for Scalar
Available on crate features ecdsa-core
and ecdsa
only.
impl SignPrimitive<NistP384> for Scalar
Available on crate features
ecdsa-core
and ecdsa
only.source§impl VerifyPrimitive<NistP384> for AffinePoint
Available on crate features ecdsa-core
and ecdsa
only.
impl VerifyPrimitive<NistP384> for AffinePoint
Available on crate features
ecdsa-core
and ecdsa
only.