constantine/constantine
Mamy Ratsimbazafy 094445482b
Eip2333 (#202)
* HMAC-SHA256

* EIP2333

* activate EIP2333 tests and faster random test case generation
2022-08-16 12:07:57 +02:00
..
ciphers Add ChaCha20 stream cipher 2022-03-02 01:18:47 +01:00
hash_to_curve Eip2333 (#202) 2022-08-16 12:07:57 +02:00
hashes Eip2333 (#202) 2022-08-16 12:07:57 +02:00
kdf Eip2333 (#202) 2022-08-16 12:07:57 +02:00
mac Eip2333 (#202) 2022-08-16 12:07:57 +02:00
math Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
platforms Eip2333 (#202) 2022-08-16 12:07:57 +02:00
signatures Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
README.md Productionize: move protocols top-level vs backend (#179) 2022-02-21 01:04:53 +01:00
blssig_pop_on_bls12381_g2.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
curves_primitives.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
ethereum_eip2333_bls12381_key_derivation.nim Eip2333 (#202) 2022-08-16 12:07:57 +02:00
ethereum_evm_precompiles.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
hashes.nim Poly1305 Message Authentication Code (#186) 2022-03-05 23:39:24 +01:00

README.md

Constantine-backed protocols

This folder stores protocol implemented on top of Constantine.

Ethereum Virtual Machine

Constantine implements precompiles primitives for the Ethereum virtual machine

  • ECADD on BN254_Snarks (called alt_bn128 in Ethereum), address 0x6, spec EIP-196 and pricing EIP-1108
  • ECMUL on BN254_Snarks (called alt_bn128 in Ethereum), address 0x7, spec EIP-196 and pricing EIP-1108
  • ECPAIRING on BN254_Snarks (called alt_bn128 in Ethereum), address 0x8, spec EIP-197 and pricing EIP-1108

Their main use-case is for use zero-knowledge proofs and zkRollups and be compatible with work on Zcash