Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Optimized ecmul on secp256k1 #69

Open
k06a opened this issue Aug 7, 2018 · 0 comments
Open

Optimized ecmul on secp256k1 #69

k06a opened this issue Aug 7, 2018 · 0 comments

Comments

@k06a
Copy link

k06a commented Aug 7, 2018

Recently Vitalik Buterin proposed to abuse ecrecover to compute hashed result of ecmul:
https://ethresear.ch/t/you-can-kinda-abuse-ecrecover-to-do-ecmul-in-secp256k1-today/2384

I had implemented his idea: https://github.com/1Address/ecsol/blob/master/contracts/EC.sol

It uses about 32K gas to call ecmulVerify.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant