akira-bruteforce/timing-patch-1
2025-03-13 12:31:49 +07:00
..
dump.bin Initial commit 2025-03-13 12:31:49 +07:00
linker_script.ld Initial commit 2025-03-13 12:31:49 +07:00
main-replacement.c Initial commit 2025-03-13 12:31:49 +07:00
Makefile Initial commit 2025-03-13 12:31:49 +07:00
patch-code.c Initial commit 2025-03-13 12:31:49 +07:00
README.md Initial commit 2025-03-13 12:31:49 +07:00

This is an attempt to measure how fast is the random key/IV generation

I assume you already have patched sample as explained in ../public-key-patch

This is done by overwriting the main function with our code, that will call the generate_random

This is not very accurate (too fast, it doesn't get interupted), but we can get the lower bound for our offset

How to use:

cp ../sample-akira .
make
./patch-code
./our-akira