├── .gitignore ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── attacks ├── AES_AFTER_SBOX ├── combine4daredevil.py └── sbox.py ├── circuits └── .keep ├── example.py ├── setup.py ├── src └── wboxkit │ ├── __init__.py │ ├── attacks │ ├── __init__.py │ ├── exact.py │ ├── lda.py │ ├── reader.py │ └── trace.py │ ├── ciphers │ ├── __init__.py │ └── aes │ │ ├── __init__.py │ │ ├── aes.py │ │ ├── bitaes.py │ │ ├── keyschedule.py │ │ ├── linear.py │ │ ├── sbox.py │ │ └── targets.py │ ├── containers │ ├── __init__.py │ ├── rect.py │ └── vector.py │ ├── fastcircuit.c │ ├── fastcircuit.h │ ├── fastcircuit.py │ ├── masking.py │ ├── prng.py │ ├── serialize.py │ └── tracing.py ├── traces └── .keep └── tutorials ├── Tutorial 1 - Circuits.ipynb ├── Tutorial 2 - Countermeasures.ipynb ├── Tutorial 3 - Tracing.ipynb ├── Tutorial 4 - Attacks.ipynb ├── circuits.7z ├── circuits └── .keep ├── traces.7z └── traces └── .keep /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/README.md -------------------------------------------------------------------------------- /attacks/AES_AFTER_SBOX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/attacks/AES_AFTER_SBOX -------------------------------------------------------------------------------- /attacks/combine4daredevil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/attacks/combine4daredevil.py -------------------------------------------------------------------------------- /attacks/sbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/attacks/sbox.py -------------------------------------------------------------------------------- /circuits/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/example.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/setup.py -------------------------------------------------------------------------------- /src/wboxkit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/wboxkit/attacks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/wboxkit/attacks/exact.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/attacks/exact.py -------------------------------------------------------------------------------- /src/wboxkit/attacks/lda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/attacks/lda.py -------------------------------------------------------------------------------- /src/wboxkit/attacks/reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/attacks/reader.py -------------------------------------------------------------------------------- /src/wboxkit/attacks/trace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/attacks/trace.py -------------------------------------------------------------------------------- /src/wboxkit/ciphers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/wboxkit/ciphers/aes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/ciphers/aes/__init__.py -------------------------------------------------------------------------------- /src/wboxkit/ciphers/aes/aes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/ciphers/aes/aes.py -------------------------------------------------------------------------------- /src/wboxkit/ciphers/aes/bitaes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/ciphers/aes/bitaes.py -------------------------------------------------------------------------------- /src/wboxkit/ciphers/aes/keyschedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/ciphers/aes/keyschedule.py -------------------------------------------------------------------------------- /src/wboxkit/ciphers/aes/linear.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/ciphers/aes/linear.py -------------------------------------------------------------------------------- /src/wboxkit/ciphers/aes/sbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/ciphers/aes/sbox.py -------------------------------------------------------------------------------- /src/wboxkit/ciphers/aes/targets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/ciphers/aes/targets.py -------------------------------------------------------------------------------- /src/wboxkit/containers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/containers/__init__.py -------------------------------------------------------------------------------- /src/wboxkit/containers/rect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/containers/rect.py -------------------------------------------------------------------------------- /src/wboxkit/containers/vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/containers/vector.py -------------------------------------------------------------------------------- /src/wboxkit/fastcircuit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/fastcircuit.c -------------------------------------------------------------------------------- /src/wboxkit/fastcircuit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/fastcircuit.h -------------------------------------------------------------------------------- /src/wboxkit/fastcircuit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/fastcircuit.py -------------------------------------------------------------------------------- /src/wboxkit/masking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/masking.py -------------------------------------------------------------------------------- /src/wboxkit/prng.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/prng.py -------------------------------------------------------------------------------- /src/wboxkit/serialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/serialize.py -------------------------------------------------------------------------------- /src/wboxkit/tracing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/src/wboxkit/tracing.py -------------------------------------------------------------------------------- /traces/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tutorials/Tutorial 1 - Circuits.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/tutorials/Tutorial 1 - Circuits.ipynb -------------------------------------------------------------------------------- /tutorials/Tutorial 2 - Countermeasures.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/tutorials/Tutorial 2 - Countermeasures.ipynb -------------------------------------------------------------------------------- /tutorials/Tutorial 3 - Tracing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/tutorials/Tutorial 3 - Tracing.ipynb -------------------------------------------------------------------------------- /tutorials/Tutorial 4 - Attacks.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/tutorials/Tutorial 4 - Attacks.ipynb -------------------------------------------------------------------------------- /tutorials/circuits.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/tutorials/circuits.7z -------------------------------------------------------------------------------- /tutorials/circuits/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tutorials/traces.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/wboxkit/HEAD/tutorials/traces.7z -------------------------------------------------------------------------------- /tutorials/traces/.keep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------