[][src]Module secp256k1zkp::constants

Constants

Constants related to the API and the underlying curve

Constants

AGG_SIGNATURE_SIZE

The size of an agg sig

BULLET_PROOF_MSG_SIZE

The maximum size of an optional message embedded in a bullet proof

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_G

Generator point G

GENERATOR_H

Generator point H

GENERATOR_PUB_J_RAW

Generator point J

GENERATOR_SIZE

The size of a generator point

MAX_PROOF_SIZE

The max size of a range proof

MAX_SIGNATURE_SIZE

The maximum size of a signature

MESSAGE_SIZE

The size (in bytes) of a message

PEDERSEN_COMMITMENT_SIZE

The size of a Pedersen commitment

PEDERSEN_COMMITMENT_SIZE_INTERNAL

The size of a Pedersen commitment

PROOF_MSG_SIZE

The maximum size of a message embedded in a range proof

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.

SECRET_KEY_SIZE

The size (in bytes) of a secret key

SINGLE_BULLET_PROOF_SIZE

The size of a single Bullet proof

UNCOMPRESSED_PUBLIC_KEY_SIZE

The size (in bytes) of an uncompressed public key