Skip to content

docs: add Pallas-Vesta curves and Simplified SWU documentation#850

Open
crStiv wants to merge 2 commits into
zcash:mainfrom
crStiv:fix
Open

docs: add Pallas-Vesta curves and Simplified SWU documentation#850
crStiv wants to merge 2 commits into
zcash:mainfrom
crStiv:fix

Conversation

@crStiv

@crStiv crStiv commented Aug 25, 2025

Copy link
Copy Markdown

Fill in TODO sections in curves.md with:

  • Pallas-Vesta curves: 2-cycle structure, field parameters, and curve equations
  • Simplified SWU: hash-to-curve algorithm description and implementation steps

Comment thread book/src/background/curves.md Outdated
**Pallas curve ($E_p/\mathbb{F}_p$):**
- Base field: $\mathbb{F}_p$ where $p = 2^{254} + t_p$ and $t_p = 45560315531419706090280762371685220353$
- Scalar field: $\mathbb{F}_q$ where $q = 2^{254} + t_q$ and $t_q = 45560315531506369815346746415080538113$
- Curve equation: $y^2 = x^3 + 5$

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked that the values of $t_p$ and $t_q$ match https://github.com/zcash/pasta (and I know everything else does).

Comment thread book/src/background/curves.md Outdated
Comment thread book/src/background/curves.md
daira
daira previously approved these changes Dec 28, 2025

@daira daira left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK with suggestions.

@daira

daira commented Dec 28, 2025

Copy link
Copy Markdown
Contributor

Review needed from @ebfull or @str4d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants