Skip to main content

Crate crypto_p521

Crate crypto_p521 

Source
Expand description

NIST P-521 ECDSA / ES512 primitive.

Constantsยง

P521_PUBLIC_KEY_COMPRESSED_LEN
Length in bytes of a compressed SEC1 P-521 public key.
P521_PUBLIC_KEY_RAW_LEN
Length in bytes of a raw X || Y P-521 public key.
P521_PUBLIC_KEY_UNCOMPRESSED_LEN
Length in bytes of an uncompressed SEC1 P-521 public key.
P521_SECRET_KEY_LEN
Length in bytes of a raw P-521 scalar.
P521_SIGNATURE_DER_MAX_LEN
Conservative maximum length for a DER-encoded P-521 ECDSA signature.