-
Notifications
You must be signed in to change notification settings - Fork 22
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
ProVerif protocol traits #395
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.
Generally looks good. I added a couple comments and questions.
Please add comments everywhere to make it easier to understand what's going on.
I have a couple of design questions that we may want to leave for a second iteration after this got merged.
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 it in to get it used.
This PR introduces two helper libraries:
hax-lib-protocol
which defines traits for building protocol implementations in hax.hax-lib-protocol-macros
which defines macros that automatically implement the traits fromhax-lib-protocol
The two libraries are exemplified in a new test for the ProVerif backend.
The PR also introduced new macros in
hax-lib-macros
to mark process components, although these are not yet acted on in the ProVerif backend.