Module map_fp_to_g1

Source
Expand description

BLS12-381 map fp to g1 precompile. More details in map_fp_to_g1

Constants§

PRECOMPILE
EIP-2537 BLS12_MAP_FP_TO_G1 precompile.

Functions§

map_fp_to_g1
Field-to-curve call expects 64 bytes as an input that is interpreted as an element of Fp. Output of this call is 128 bytes and is an encoded G1 point. See also: https://eips.ethereum.org/EIPS/eip-2537#abi-for-mapping-fp-element-to-g1-point