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

Modularize leakage extraction #864

Open
cassiersg opened this issue Jul 12, 2024 · 0 comments
Open

Modularize leakage extraction #864

cassiersg opened this issue Jul 12, 2024 · 0 comments

Comments

@cassiersg
Copy link
Collaborator

(Summary of discussion consensus in Bristol. - I hope this is faithful. @bgregoir @mbbarbosa @bacelar @strub @lyonel2017)

In order to allow for easier local reasoning about the leakage, it should be returned by functions instead of being accumulated in a global variable. Furthermore, functions could be tree structure of leakage (with a node for each function call, each while/for/if block, each instruction...).
While this would break easycrypt CT proofs, they should be easy to fix (the CT security statement would be modified a bit to take the leakage from the return of the function, but the proc; inline *; sim. proofs should still work).

This paves the way for introduction of a value leakage extraction mode, where each manipulated word gets leaked.

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

No branches or pull requests

1 participant