Module secp256k1_test::constants [] [src]

Constants

Constants related to the API and the underlying curve

Constants

COMPACT_SIGNATURE_SIZE

The maximum size of a compact signature

COMPRESSED_PUBLIC_KEY_SIZE

The size (in bytes) of a compressed public key

CURVE_ORDER

The order of the secp256k1 curve

GENERATOR_X

The X coordinate of the generator

GENERATOR_Y

The Y coordinate of the generator

MAX_SIGNATURE_SIZE

The maximum size of a signature

MESSAGE_SIZE

The size (in bytes) of a message

PUBLIC_KEY_SIZE

The size (in bytes) of a public key array. This only needs to be 65 but must be 72 for compatibility with the ArrayVec library.

SCHNORR_SIGNATURE_SIZE

The size of a Schnorr signature

SECRET_KEY_SIZE

The size (in bytes) of a secret key

UNCOMPRESSED_PUBLIC_KEY_SIZE

The size (in bytes) of an uncompressed public key