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

Question about fr.asm #251

Open
MJJ-Shuai opened this issue Apr 8, 2024 · 0 comments
Open

Question about fr.asm #251

MJJ-Shuai opened this issue Apr 8, 2024 · 0 comments

Comments

@MJJ-Shuai
Copy link

Hi, I've been looking at the underlying code of the circom compiler. I have read the fr.asm file generated by circom compilation and I am not sure what these functions do. These functions may implement some of the key steps of Montgomery's algorithm, but I do not understand the difference between them:

    global Fr_rawMMul
    global Fr_rawMSquare
    global Fr_rawToMontgomery
    global Fr_rawFromMontgomery

I'd appreciate it if you could give me a brief introduction.

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

No branches or pull requests

1 participant