Skip to content

ewasm/evm384_f6m_mul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EVM384

Implementations and benchmarks for cryptographic primitives in an EVM augmented to support 384 bit modular arithmetic.

Currently the only example/benchmark is multiplication of two "F6" points, elements of an extension field used implementations of BLS12-381 pairing (example)

Usage

Build dependencies:

git submodule update --init --recursive
(cd evmone && mkdir build && cd build && cmake .. && make -j4)
(cd evmc && mkdir build && cd build && cmake -DEVMC_TOOLS=ON .. && make -j4)
(cd solidity && mkdir build && cd build && cmake .. && make -j4)

Build benchmark and unit test:

make which stores bytecode under build folder

Build CircleCI Docker Image

make circleci_build_image