Skip to content

Commit

Permalink
Fix the definition of PairingFriendlyCycle (#217)
Browse files Browse the repository at this point in the history
* Update lib.rs

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>

Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
  • Loading branch information
weikengchen and Pratyush authored Feb 9, 2021
1 parent a3a1ab2 commit b6c08c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,6 @@ The main features of this release are:
- #165 (ark-ff) Enforce in the type system that an extension fields `BaseField` extends from the correct `BasePrimeField`.
- #184 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries.
- #192 Fix a bug in the assembly backend for finite field arithmetic.
- #217 (ark-ec) Fix the definition of `PairingFriendlyCycle` introduced in #190.

## v0.1.0 (Initial release of arkworks/algebra)
4 changes: 2 additions & 2 deletions ec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ pub trait PairingFriendlyCycle: CurveCycle {
>;

type Engine2: PairingEngine<
G2Affine = Self::E2,
G2Projective = <Self::E2 as AffineCurve>::Projective,
G1Affine = Self::E2,
G1Projective = <Self::E2 as AffineCurve>::Projective,
Fq = <Self::E2 as AffineCurve>::BaseField,
Fr = <Self::E2 as AffineCurve>::ScalarField,
>;
Expand Down

0 comments on commit b6c08c1

Please sign in to comment.