Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zokrates_stdlib/stdlib/ecc/edwardsOnCurve.zok
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ from "ecc/babyjubjubParams" import BabyJubJubParams;
// Check if a point is on a twisted Edwards curve
// Curve parameters are defined with the last argument
// See appendix 3.3.1 of Zcash protocol specification:
// https://github.com/zcash/zips/blob/master/protocol/protocol.pdf
// https://github.com/zcash/zips/blob/main/rendered/protocol/protocol.pdf
def main(field[2] pt, BabyJubJubParams context) -> bool {
field a = context.JUBJUB_A;
field d = context.JUBJUB_D;
Expand Down