8886b15d8e512dc1796949c59582840090bf6646
tea3-py
install
python -m venv .venv
source .venv/bin/activate
pip install -e .
run tests
pip install pytest
pytest
run linear and differential bias empirical tests
in the venv
tea3-linear-bias
tea3-differential-bias
derive lookup tables
lookup-tables
run sagemath script
deactivate the venv first, then with sagemath installed:
./run_sage.sh
Modes are:
- Classic inspection
- Advanced inspection with forced 0 or 1 bits
- Exhaustive variable-change search
- S box analysis
- Variable XOR
- F31, F32 analysis
- Exhaustive XOR search
- Cube attack search
- Precompute and save model
- Load model
n steps can be precomputed and then loaded for the offline part of the cube attack with the menu entry 9 and 10.
Languages
Python
99.9%