Skip to content

Commit

Permalink
expose a and b
Browse files Browse the repository at this point in the history
  • Loading branch information
mitschabaude committed Nov 16, 2023
1 parent ea279c2 commit 8f0e0d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crypto/elliptic_curve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ function createCurveProjective({
throw Error('`endoScalar` for this curve was not provided.');
return endoScalar;
},
b,
a,
b,
hasCofactor,

equal(g: GroupProjective, h: GroupProjective) {
Expand Down Expand Up @@ -505,6 +505,8 @@ function createCurveAffine({
name,
modulus: p,
order,
a,
b,
hasCofactor,

zero: affineZero,
Expand Down

0 comments on commit 8f0e0d0

Please sign in to comment.