ZenGo-X / curv

Rust language general purpose elliptic curve cryptography.
MIT License
264 stars 111 forks source link

Upgrade `curv` interface #120

Closed survived closed 3 years ago

survived commented 3 years ago

Progress:

Unresolved questions (subject to move to separate issues):

survived commented 3 years ago

@elichai thank you for review! Your comments are very valuable!

on the other hand it makes future constant time operations harder

I think, to support constant time operations, we need underlying library to support points at infinity. E.g. C library that secp256k1 crate is based on, it actually supports points at infinity via dedicated primitives, but secp256k1 crate hides these primitives from their API (for obvious reasons)

elichai commented 3 years ago

I think, to support constant time operations, we need underlying library to support points at infinity.

Yeah I've been thinking about this for a while, See my comment here: https://github.com/ZenGo-X/curv/issues/43#issuecomment-864886342