Elliptic curves utilities refactory (#2068)
- Usage the new published [arkworks-extensions](https://github.com/paritytech/arkworks-extensions) crates. Hooks are internally defined to jump into the proper host functions. - Conditional compilation of each curve (gated by feature with curve name) - Separation in smaller host functions sets, divided by curve (fits nicely with prev point)
Showing
- Cargo.lock 85 additions, 0 deletionsCargo.lock
- substrate/primitives/crypto/ec-utils/Cargo.toml 45 additions, 18 deletionssubstrate/primitives/crypto/ec-utils/Cargo.toml
- substrate/primitives/crypto/ec-utils/src/bls12_377.rs 205 additions, 0 deletionssubstrate/primitives/crypto/ec-utils/src/bls12_377.rs
- substrate/primitives/crypto/ec-utils/src/bls12_381.rs 195 additions, 0 deletionssubstrate/primitives/crypto/ec-utils/src/bls12_381.rs
- substrate/primitives/crypto/ec-utils/src/bw6_761.rs 186 additions, 0 deletionssubstrate/primitives/crypto/ec-utils/src/bw6_761.rs
- substrate/primitives/crypto/ec-utils/src/ed_on_bls12_377.rs 88 additions, 0 deletionssubstrate/primitives/crypto/ec-utils/src/ed_on_bls12_377.rs
- substrate/primitives/crypto/ec-utils/src/ed_on_bls12_381_bandersnatch.rs 153 additions, 0 deletions...tives/crypto/ec-utils/src/ed_on_bls12_381_bandersnatch.rs
- substrate/primitives/crypto/ec-utils/src/lib.rs 31 additions, 264 deletionssubstrate/primitives/crypto/ec-utils/src/lib.rs
- substrate/primitives/crypto/ec-utils/src/utils.rs 71 additions, 80 deletionssubstrate/primitives/crypto/ec-utils/src/utils.rs
Please register or sign in to comment