Skip to content

[ciphers/AES] Rijndael Galois Field Operations - Design Question #320

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

Closed
Phil-Schmidt opened this issue Nov 19, 2017 · 0 comments
Closed

Comments

@Phil-Schmidt
Copy link
Contributor

The AES algorithm uses a couple of math operations on 8-bit integers that are not calculated in the regular integer space, but in Rijndael's Finite Field.
There are different ways to approach this issue:
You could implement different sub algorithms that will do the calculation for you. This would pose a more 'complete' solution to this problem, however it will make the algorithm harder to read.
Alternatively you can simply use precalculated lookup tables for these operations. This is the most common way to build AES.
Personally I think lookup tables is the way to go, however I would like to hear some other opinions about how The Algorithms' implementation of AES is supposed to handle these functions.

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