-
Notifications
You must be signed in to change notification settings - Fork 63
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
Unhandled exception (index out of bounds) #11
Comments
This is probably an abcBridge bug. I'll look into it. |
Contrary to expectation, this is not an abcBridge bug. Instead, it seems to be a bug with the translation of the Cryptol expression
|
Here is an even more minimal example:
What's happening here is that the subexpression As a workaround, you can use We can certainly switch from |
After a few additional tweaks to saw-core and cryptol-verifier, I can now confirm that altering the XSalsa20_expansion function to use Let's leave this bug open for now to track the continuing work that needs to happen to support the |
A nice compromise would be to use different data structures for different sizes of vectors. We could use array-like structures for small vectors, and list-like (or even map-like) structures for large vectors. |
We deleted the |
Remove uses of `fail` and use `panic` or throw exceptions instead
* Add SMT Array primitives. * Use panic instead of fail.
I'm seeing:
From the below code which was intended to prove the Cryptol implementation of
crypto_secretbox
from NaCl is identical to itself.To reproduce just git-clone GaloisInc/crylock, add the above code to
src/prim/CryptoBox.saw
directory andsaw CryptoBox.saw
.The text was updated successfully, but these errors were encountered: