-
Notifications
You must be signed in to change notification settings - Fork 126
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
PrimeEC::ec_mult can produce incorrect results #1675
Comments
The elements of cryptol/src/Cryptol/PrimeEC.hs Line 290 in 4afba5f
|
Using the
|
@RyanGlScott That's because the function isn't symbolically executed, but rather uninterpreted. So, the SMT solver can say whatever it likes. |
Adding this for an easy link for the source paper of the code in question. |
It appears that a modulus was not happening in ec_sub that was causing the odd issue noted in #1675. This commit adds that modulus and fixes it.
This is very strange behavior.
The text was updated successfully, but these errors were encountered: