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

Feat/Switch Spartan Backend to Use Goldilocks Field (experiment) #46

Open
wants to merge 45 commits into
base: matthias/format-like-ceno
Choose a base branch
from

Conversation

matthiasgoergens
Copy link
Collaborator

No description provided.

transcript: &mut Transcript,
input: &[Self],
) {
transcript.append_message(label, b"begin_append_vector");
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Why do we need these messages?

/// Constant representing the modulus
/// q = 2^64 - 2^32 + 1
/// 0xFFFFFFFF00000001
const P: u64 = 0xFFFF_FFFF_0000_0001;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Please take this from the Goldilocks crate.

}

impl RandomTape {
impl<S: SpartanExtensionField> RandomTape<S> {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If you name this variable Scalar instead of S the diff becomes a lot smaller and easier to review. (Similar in many other places as well.)

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.

3 participants