solana_bn254

Module prelude

Source

Re-exports§

pub use crate::AltBn128Error;

Constants§

ALT_BN128_ADD
ALT_BN128_ADDITION_INPUT_LEN
Input length for the add operation.
ALT_BN128_ADDITION_OUTPUT_LEN
Output length for the add operation.
ALT_BN128_FIELD_SIZE
Size of the EC point field, in bytes.
ALT_BN128_MUL
ALT_BN128_MULTIPLICATION_INPUT_LEN
Input length for the multiplication operation.
ALT_BN128_MULTIPLICATION_OUTPUT_LEN
Output length for the multiplication operation.
ALT_BN128_PAIRING
ALT_BN128_PAIRING_ELEMENT_LEN
Pair element length.
ALT_BN128_PAIRING_OUTPUT_LEN
Output length for pairing operation.
ALT_BN128_POINT_SIZE
Size of the EC point. alt_bn128 point contains the consistently united x and y fields as 64 bytes.
ALT_BN128_SUB

Functions§

alt_bn128_addition
alt_bn128_multiplication
alt_bn128_pairing