-
Notifications
You must be signed in to change notification settings - Fork 25
Sha3 lax check #1092
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
Sha3 lax check #1092
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I only looked at the Rust changes and not inside the hax/F* blobs.
087bfc8
to
4f45356
Compare
One problem is this issue. I always get the wrong |
Fixed in HAX cryspen/hax@ad0e608 |
4f45356
to
25962c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you force pushed. That breaks the entire review process. Please don't force push during the review.
Also, please enable laxing to the CI so that we don't break it again.
Then I think this is good to go.
Yes, sorry. I rebased because I wanted the Makefile changes to be merged separately. |
The new CI does not work with the Makefile. Will investigate. My first time working with Github workflows. |
CI still fails because hax-lib is pulled from
|
As we discussed on Google Chat, the problem here probably has nothing to do with the hax installation action. Does that make sense? |
The
|
Oh, I see, I recall your PR introducing Looking at the commit change, I don't see where |
I changed the version of hax-lib in root Cargo.toml to use the latest commit. Only using latest version of hax-lib in libcrux-sha3/Cargo.toml causes the What do you think @franziskuskiefer |
That's ok to get this in. But please file a follow-up issue to get this fixed. Also, we need to get the hax action fixed to avoid this hack. I filed hacspec/hax-actions#5 for that. |
Thanks for filing the issue, Franziskus, I replied there. I believe this isn’t something the action can address, as it works as intended in this case. IMO, the way to improve things here is to allocate time on the workbench to kill makefiles altogether. |
Ok, then we'll have to get this fixed in here properly before we can merge it. |
You can now update |
I created a separate bump #1127. I will clean up the last couple commits and rebase. |
- add a `--portable` flag for extract in the python build script - add a `clean` option to the python build script - remove F* interface generation - add a Makefile for verification - remove non default interative prove config - change .gitignore
d1b7358
to
d750ab1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, almost there. Just a few nits, then we can get this in.
- typo - yml formatting - add workflow path - remove libcrux-traits feature - remove sha3-extract-portable-hax-status
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing (that would fail ci)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Let's get this in.
I don't see an error in the log that failed. What is the problem here? |
Looks like the branch is pretty out of date. Updating may fix it. If not, C extraction must be updated. |
This PR adds lax checking for SHA3. It also includes some changes towards full type checking. The theta, pi and chi functions are admitted.
It is based on my develop branch which changes are requested in PR 1076