Skip to main content

Crate crypto_p384

Crate crypto_p384 

Source
Expand description

NIST P-384 ECDSA / ES384 and ECDH primitive.

Constantsยง

P384_PUBLIC_KEY_COMPRESSED_LEN
Length in bytes of a compressed SEC1 P-384 public key.
P384_PUBLIC_KEY_RAW_LEN
Length in bytes of a raw X || Y P-384 public key.
P384_PUBLIC_KEY_UNCOMPRESSED_LEN
Length in bytes of an uncompressed SEC1 P-384 public key.
P384_SECRET_KEY_LEN
Length in bytes of a raw P-384 scalar.
P384_SHARED_SECRET_LEN
Length in bytes of the SEC 1 ECDH x-coordinate for P-384.
P384_SIGNATURE_DER_MAX_LEN
Conservative maximum length for a DER-encoded P-384 ECDSA signature.