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

The TBox do not mix #3

Open
WMHbear opened this issue Jan 30, 2019 · 3 comments
Open

The TBox do not mix #3

WMHbear opened this issue Jan 30, 2019 · 3 comments

Comments

@WMHbear
Copy link

WMHbear commented Jan 30, 2019

In your code, the TBox do not mix ,so we can get key in TBox.
It is not whitebox aes.

@balena
Copy link

balena commented Sep 27, 2019

I've created another implementation in https://github.com/balena/aes-whitebox . It contains L × MB bijection protections as originally specified in Muir's paper.

@balena
Copy link

balena commented Sep 27, 2019

If you look at the genTables.cpp file at line 159, you will see the problem. Basically before applying the L affine conversion you have to consider the shiftRows of the next round.

I think @Gr1zz had given up trying to apply it and eventually gave up eliminating this transformation by adding the code in line genTables.cpp:123. And it also missed to revert the L function in genTables.cpp:105.

@WMHbear
Copy link
Author

WMHbear commented Dec 24, 2019

I've created another implementation in https://github.com/balena/aes-whitebox . It contains L × MB bijection protections as originally specified in Muir's paper.

Good Job!

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