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

Remove kernel memory zeroizing in SHA256 precompile #1302

Merged

Conversation

Nashtare
Copy link
Collaborator

I originally wanted to amortize the %zero_out_kernel_general macro by leveraging the MSTORE_32BYTES instruction instead, but it seems that it is not needed at all anymore.

@npwardberkeley When looking at the git history for this part I noticed it was needed for something you were working on a while back. Can you confirm the removal is sound? Thanks 🙏

@Nashtare Nashtare self-assigned this Oct 21, 2023
Copy link
Contributor

@wborgeaud wborgeaud left a comment

Choose a reason for hiding this comment

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

Yes this was fixed in #1029, so this is ok to delete.

@Nashtare Nashtare merged commit e2b6620 into 0xPolygonZero:main Oct 23, 2023
2 checks passed
@Nashtare Nashtare deleted the remove_kernel_memory_zeroing branch October 23, 2023 10:33
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