Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Constants

BLS_X_SEED_SQSquare of the BLS12-381 x seed parameter used in curve generation
BN254
BLS12_381
SECP256K1
SECP256R1
ED25519
GRUMPKIN
BLS_G2_GENERATORGenerator point for the G2 subgroup of BLS12-381’s twisted curve E’(Fp2) Coordinates are in Fp2 represented as (x₀ + i·x₁, y₀ + i·y₁)
BN254_SEED_BITS_JY00_COMPRESSEDCompressed NAF (Non-Adjacent Form) representation of BN254 seed parameter for efficient Miller loop computation in pairing operations. Computed as: recode_naf_bits(jy00(6·x + 2) 2:…
BLS12_381_SEED_BITS_COMPRESSEDCompressed binary representation of BLS12-381 seed parameter x = 0xD201000000010000 for efficient Miller loop computation. Binary digits with consecutive zeros replaced by 3 for compression…
BN254_SEED_BITS_NAFNAF (Non-Adjacent Form) representation of BN254 seed parameter for Miller loop computation in pairing operations. Computed as: NAF(6·x + 2) 1: where x = 0x44E992B44A6909F1…
BLS12_381_SEED_BITSStandard binary representation of BLS12-381 seed parameter x = 0xD201000000010000 Used for basic Miller loop operations Format: bin(x) [ 2: ] [ 2: ]…