@ethereumjs/evm / MCLBLS
Defined in: precompiles/bls12_381/mcl.ts:210
Implementation of the EVMBLSInterface
using the mcl-wasm
WASM mcl
wrapper library,
see https://github.com/herumi/mcl-wasm.
This can be optionally used to replace the build-in Noble implementation (NobleBLS
) with
a more performant WASM variant. See EVM bls
constructor option on how to use.
new MCLBLS(
mcl
):MCLBLS
Defined in: precompiles/bls12_381/mcl.ts:213
any
MCLBLS
addG1(
input
):Uint8Array
Defined in: precompiles/bls12_381/mcl.ts:223
Uint8Array
Uint8Array
EVMBLSInterface.addG1
addG2(
input
):Uint8Array
Defined in: precompiles/bls12_381/mcl.ts:247
Uint8Array
Uint8Array
EVMBLSInterface.addG2
init():
void
Defined in: precompiles/bls12_381/mcl.ts:217
void
EVMBLSInterface.init
mapFP2toG2(
input
):Uint8Array
Defined in: precompiles/bls12_381/mcl.ts:280
Uint8Array
Uint8Array
EVMBLSInterface.mapFP2toG2
mapFPtoG1(
input
):Uint8Array
Defined in: precompiles/bls12_381/mcl.ts:271
Uint8Array
Uint8Array
EVMBLSInterface.mapFPtoG1
msmG1(
input
):Uint8Array
Defined in: precompiles/bls12_381/mcl.ts:289
Uint8Array
Uint8Array
EVMBLSInterface.msmG1
msmG2(
input
):Uint8Array
Defined in: precompiles/bls12_381/mcl.ts:315
Uint8Array
Uint8Array
EVMBLSInterface.msmG2
mulG1(
input
):Uint8Array
Defined in: precompiles/bls12_381/mcl.ts:237
Uint8Array
Uint8Array
EVMBLSInterface.mulG1
mulG2(
input
):Uint8Array
Defined in: precompiles/bls12_381/mcl.ts:261
Uint8Array
Uint8Array
EVMBLSInterface.mulG2
pairingCheck(
input
):Uint8Array
Defined in: precompiles/bls12_381/mcl.ts:340
Uint8Array
Uint8Array
EVMBLSInterface.pairingCheck