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

Constant-time vs. variable-time AES #336

Open
mkannwischer opened this issue Oct 9, 2020 · 1 comment
Open

Constant-time vs. variable-time AES #336

mkannwischer opened this issue Oct 9, 2020 · 1 comment

Comments

@mkannwischer
Copy link
Contributor

Hello everyone,

for pqm4 and also the brand new pqm3, we would like to allow implementations to choose from a constant-time AES (e.g., bitsliced) and a potentially variable time AES (e.g., t-table) because t-table implementations are faster for our platforms.

Schemes can then make use of the faster implementation for public inputs (e.g. expanding the matrix A in Kyber), and the constant-time implementation for secret inputs (e.g., Expand in NTRULPRime).

Should this extension of the AES API also go to PQClean? Any opinions on this?

@cryptojedi
Copy link
Contributor

cryptojedi commented Dec 10, 2020 via email

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

2 participants