Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPO STARK-based signature scheme verification in MASM #1591

Open
wants to merge 20 commits into
base: next
Choose a base branch
from

Conversation

Al-Kindi-0
Copy link
Collaborator

As the title says, this is an implementation of the verification algorithm for the RPO STARK-based signature scheme as presented here. The main difference is that the current implementation is based on the conjectured security of the toy problem of the ethSTARK paper. Under this conjecture, the following implementation achieves at least 100bits of security.
The main things that are still missing:

  1. Using a random salt when initializing the seed for Fiat-Shamir. This is implemented for all the rounds but for the first one.
  2. Introduce the equivalent of the rcomb_base instruction to work with extension field elements.

The cycle count, assuming we introduce the instruction in point 2 above, is less than 30000 cycles.

@Al-Kindi-0 Al-Kindi-0 changed the base branch from main to next December 2, 2024 15:12
@Al-Kindi-0 Al-Kindi-0 requested review from bobbinth and plafer December 2, 2024 15:12
@Al-Kindi-0 Al-Kindi-0 force-pushed the al-stark-signature-masm branch from ae1e8ba to 1ba8cf7 Compare December 3, 2024 12:29
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.

1 participant