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

Split rpo::hash_memory #1718

Merged
merged 4 commits into from
Mar 22, 2025
Merged

Split rpo::hash_memory #1718

merged 4 commits into from
Mar 22, 2025

Conversation

Fumuran
Copy link
Contributor

@Fumuran Fumuran commented Mar 21, 2025

This PR essentially splitting the rpo::hash_memory procedure into two new procedures: prepare_hasher_state and hash_memory_with_state.

This change will allow us to decide whether the provided values should be hashed as padded values.

Related issue: 0xPolygonMiden/miden-base#1237

@Fumuran Fumuran requested a review from bobbinth March 21, 2025 22:57
@Fumuran Fumuran changed the title Split rpo::hash_memory. Split rpo::hash_memory Mar 21, 2025
@Fumuran Fumuran changed the base branch from next to main March 21, 2025 23:45
Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you! I pushed a couple of small commits to roll-back the version number changes and also to improve the comments for the procedures a bit.

@bobbinth bobbinth merged commit c93c2c4 into main Mar 22, 2025
12 checks passed
@bobbinth bobbinth deleted the andrew-split-hash-memory branch March 22, 2025 05:56
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