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: rotate_right() function #3

Open
Tracked by #1
Autoparallel opened this issue Jun 7, 2024 · 0 comments
Open
Tracked by #1

feat: rotate_right() function #3

Autoparallel opened this issue Jun 7, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Autoparallel
Copy link

Autoparallel commented Jun 7, 2024

We should provide a proof for:

fn rotate_right<const N: usize>(x: u32) -> u32 {
    (x >> N)  | (x << (32 - N)
}

as it is used throughout other calculations in SHA-256.

Good insight for this would be the u32add already implemented in Binius.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant