ashutoshvarma / curves

Implementations of popular elliptic curves
https://www.arkworks.rs
Other
6 stars 0 forks source link

Native-WASM gateway #1

Open ashutoshvarma opened 3 years ago

ashutoshvarma commented 3 years ago

_Original Issue https://github.com/arkworks-rs/algebra/issues/730

ashutoshvarma commented 3 years ago

We'll discuss this publicly while in progress but maybe on a fork, not here, not sure, so urban will give this a 100 day snooze.

_Originally posted by @burdges in https://github.com/arkworks-rs/algebra/issues/730

We can discuss publicly on this fork

burdges commented 3 years ago

As I wrote in chat, one possible first step is just producing a curve wrapper that does nothing but rename the curve type, and forwards every method to the underlying curve. An curve wrapper alone gives an easier first step and can be tested with Edwards curves. And later a whole pairing engine wrapper with curve wrappers. We'd skip wrapping the field in this, which simplifies things somewhat.

https://jeltef.github.io/derive_more/derive_more/ might help somewhat, although not sure how much.