AES T-table Mitigation

October 12, 2025 ยท View on GitHub

The case study defaults to LX-SX on Cortex-A72 can be compiled with:

make

This automatically clones and fetches openssl, applies our patch, and produces a static binary aes_t_table that can be launched on a Cortex-A72. Compilation is usually fast but can take up to 10 minutes on a slow machine. openssl has to be compiled only once.

Run the defense demo as:

./aes_t_table

You can change the number of iterations at the top of aes_t_table.c.

Expected output:

Using 10000 iterations...
runs: 10000
tp 4852.000000 fp 9.000000 fn 142.000000
precision: 0.998149
recall: 0.971566
fscore: 0.984678
Time: 3252 ms (3252650970 cycles)
Encryption did 1600160 loads