Comments (7)
I'm in favor of wrapping k256 (https://github.com/RustCrypto/elliptic-curves/tree/master/k256). See Tony's blog post on it: https://iqlusion.blog/k256-crate-pure-rust-projective-secp256k1-library.
from curves.
I think it would make sense to only wrap their field code, and use our existing Short Weierstrass Jacobian type for curve arithmetic. This is so that we can easily reuse the existing gadget infrastructure in the future (which works only with our existing Twisted Edwards and Short Weierstrass structs).
from curves.
Would Ed25519 make sense? Ristretto maybe less so
from curves.
We can just move this one? https://github.com/FindoraNetwork/ark-bulletproofs-secq256k1/tree/main/src/curve/secp256k1
With the recent algebra library upgrade, this should be pretty easy. I just need a yes or no.
from curves.
I think with the new infrastructure we can avoid the extra limb; I would be in favour of that.
from curves.
Let me double check---I suspect that 256 can fit curve25519 but not secp256k1.
from curves.
By "new infrastructure" I mean the new trait design, not the existing arithmetic routines. We would need to introduce a separate impl of montgomery reductions and multiplication to avoid the extra limb.
from curves.
Related Issues (20)
- Ate pairing count of CP6-782 HOT 2
- Plan to handle curve25519 and ed25519
- Prepared G2 for CP6-782 HOT 3
- Use workspace inheritance to reduce duplication in crate `Cargo.toml`s
- Add Sonny Curve to Library HOT 5
- Publish & tag 0.4.0-alpha
- Curve master should always be patched to depend on Algebra master
- Benchmarks for pairings are not executed HOT 2
- Slow affine multiplication for ed_on_bls12_377 HOT 4
- MSMs slower than doing individual scalar multiplications HOT 5
- In version 0.3, `multi_scalar_mul` output is incorrect if scalar exceeds curve order. HOT 1
- Hash to G1 point setting different domain string HOT 1
- cargo build fails HOT 5
- How to run `bls12_isogeny_computer.sage` script? HOT 2
- Hash to scalar? HOT 1
- Generator mismatch with bandersnatch implementation and the published paper HOT 4
- Secp384r1 discussion HOT 1
- Clarification on incomplete Twisted Edwards curves HOT 7
- Modification of `ed_on_bw6_761` HOT 5
- Documentation for ark_ed_on_bls12_381 incorrectly refers to BLS12-377 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curves.