fluentbase_types/
curves.rs1pub const ED25519_POINT_COMPRESSED_SIZE: usize = 32;
3pub const ED25519_POINT_DECOMPRESSED_SIZE: usize = 64;
4
5pub const SECP256K1_FP_SIZE: usize = 32;
7pub const SECP256K1_G1_RAW_AFFINE_SIZE: usize = 64;
8pub const SECP256K1_G1_SEC1_SIZE: usize = 33;
9pub const SECP256K1_G1_COMPRESSED_SIZE: usize = 32;
10
11pub const SECP256R1_FP_SIZE: usize = 32;
13pub const SECP256R1_G1_RAW_AFFINE_SIZE: usize = 64;
14pub const SECP256R1_G1_SEC1_SIZE: usize = 33;
15pub const SECP256R1_G1_COMPRESSED_SIZE: usize = 32;
16
17pub const BN254_FP_SIZE: usize = 32;
19pub const BN254_FP2_SIZE: usize = 64;
20pub const BN254_G1_RAW_AFFINE_SIZE: usize = 64;
21pub const BN254_G1_COMPRESSED_SIZE: usize = 32;
22pub const BN254_G2_RAW_AFFINE_SIZE: usize = 128;
23pub const BN254_G2_COMPRESSED_SIZE: usize = 64;
24
25pub const BLS12381_FP_SIZE: usize = 48;
27pub const BLS12381_FP2_SIZE: usize = 96;
28pub const BLS12381_G1_RAW_AFFINE_SIZE: usize = 96;
29pub const BLS12381_G1_COMPRESSED_SIZE: usize = 48;
30pub const BLS12381_G2_RAW_AFFINE_SIZE: usize = 192;
31pub const BLS12381_G2_COMPRESSED_SIZE: usize = 96;