Module map_fp2_to_g2

Source
Expand description

BLS12-381 map fp2 to g2 precompile. More details in map_fp2_to_g2

Constants§

PRECOMPILE
EIP-2537 BLS12_MAP_FP2_TO_G2 precompile.

Functions§

map_fp2_to_g2
Field-to-curve call expects 128 bytes as an input that is interpreted as an element of Fp2. Output of this call is 256 bytes and is an encoded G2 point. See also: https://eips.ethereum.org/EIPS/eip-2537#abi-for-mapping-fp2-element-to-g2-point