diff --git a/EIPS/eip-3026.md b/EIPS/eip-3026.md index 560f13bc63a465..e15de2e984ca6a 100644 --- a/EIPS/eip-3026.md +++ b/EIPS/eip-3026.md @@ -159,15 +159,14 @@ Error cases: - Field elements encoding rules apply (obviously) - Input has invalid length -#### ABI for G2 multiexponentiation +#### ABI for G2 multiexponentiation -G2 multiplication call expects `240*k` bytes as an input that is interpreted as byte concatenation of `k` slices each of them being a byte concatenation of encoding of G2 point (`192` bytes) and encoding of a scalar value (`48` bytes). Output is an encoding of multiexponentiation operation result. +G2 multiexponentiation call expects `256*k` bytes as an input that is interpreted as byte concatenation of `k` slices, each of them being a byte concatenation of encoding of G2 point (`192` bytes) and encoding of a scalar value (`64` bytes). Output is an encoding of multiexponentiation operation result. -Error cases: - -- Any of G2 points being not on the curve must result in error -- Field elements encoding rules apply (obviously) -- Input has invalid length +Error cases: +- Any of G2 points being not on the curve must result in error +- Field elements encoding rules apply (obviously) +- Input length must be a multiple of `256` #### ABI for pairing