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

Figure out methodology to ensure that code in the constant time subcrate is actually constant time #232

Open
koraa opened this issue Jan 20, 2024 · 1 comment
Labels
code-quality Reviews or improves code quality maintenance Part of maintenance activities

Comments

@koraa
Copy link
Member

koraa commented Jan 20, 2024

We need some tool or process to actually ensure constant-timedness.

@ilka-schulz
Copy link
Contributor

Haha, I skimmed your codebase earlier today and added a statistic test in #244 to ensure constant-time execution. This is not a proper theoretical proof but only a dirty statistical test and I understand that it feels "improper" but depending on your philosophy, empiricism in the form of a statistic test is even better because it does not need extensive knowledge of the compiler and CPU architecture. A theoretical proof might actually be more prone to errors than such a test – although the best option is surely to do both.

@prabhpreet prabhpreet added code-quality Reviews or improves code quality maintenance Part of maintenance activities labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-quality Reviews or improves code quality maintenance Part of maintenance activities
Projects
None yet
Development

No branches or pull requests

3 participants