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

fix modexp type mismatch #414

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

fix modexp type mismatch #414

wants to merge 1 commit into from

Conversation

karmacoma-eth
Copy link
Collaborator

fixes #402

@karmacoma-eth karmacoma-eth marked this pull request as draft November 14, 2024 18:34
@karmacoma-eth
Copy link
Collaborator Author

TODO:

  • test that truncated input is padded with zeros (should be equivalent to same call but with explicitly padded input)
  • test that extra output is discarded (should not be passed into modexp(), should be equivalent to properly sized input)
  • add that x mod 0 is 0 for all x

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.

Halmos fails with Z3Exception: b'parser error'
1 participant