pub struct NistP384;
Available on crate feature
signature
only.Expand description
NIST P-384 elliptic curve.
Trait Implementations§
source§impl Curve for NistP384
impl Curve for NistP384
source§impl CurveAlg for NistP384
impl CurveAlg for NistP384
source§fn signing_alg() -> &'static EcdsaSigningAlgorithm
fn signing_alg() -> &'static EcdsaSigningAlgorithm
ring signing algorithm
source§fn verify_alg() -> &'static EcdsaVerificationAlgorithm
fn verify_alg() -> &'static EcdsaVerificationAlgorithm
ring verify algorithm
source§impl Ord for NistP384
impl Ord for NistP384
source§impl PartialEq for NistP384
impl PartialEq for NistP384
source§impl PartialOrd for NistP384
impl PartialOrd 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 ValidatePublicKey for NistP384
Available on non-crate feature arithmetic
only.
impl ValidatePublicKey for NistP384
Available on non-crate feature
arithmetic
only.§fn validate_public_key(
secret_key: &SecretKey<Self>,
public_key: &EncodedPoint<Self::FieldBytesSize>
) -> Result<(), Error>
fn validate_public_key( secret_key: &SecretKey<Self>, public_key: &EncodedPoint<Self::FieldBytesSize> ) -> Result<(), Error>
Validate that the given [
EncodedPoint
] is a valid public key for the
provided secret value.impl Copy for NistP384
impl Eq for NistP384
impl PrimeCurve for NistP384
impl StructuralEq for NistP384
impl StructuralPartialEq for NistP384
Auto Trait Implementations§
impl RefUnwindSafe for NistP384
impl Send for NistP384
impl Sync for NistP384
impl Unpin for NistP384
impl UnwindSafe for NistP384
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