├── .gitignore ├── Dockerfile ├── Dockerfile_NoSageMath ├── Makefile ├── README.md ├── Tutorial 0 - Test Setup.ipynb ├── Tutorial 0 - Test Setup.slides.html ├── Tutorial 1 - Circuits.ipynb ├── Tutorial 1 - Circuits.slides.html ├── Tutorial 2 - Countermeasures.ipynb ├── Tutorial 2 - Countermeasures.slides.html ├── Tutorial 3 - Tracing.ipynb ├── Tutorial 3 - Tracing.slides.html ├── Tutorial 4 - Attacks.ipynb ├── Tutorial 4 - Attacks.slides.html ├── attacks ├── AES_AFTER_SBOX ├── analyze_exact.py ├── analyze_linalg_1st.py ├── combine4daredevil.py ├── reader.py └── sbox.py ├── ches2022test.py ├── circkit ├── __init__.py ├── arithmetic.py ├── array.py ├── bitwise │ ├── __init__.py │ ├── circuit.py │ ├── const_manager.py │ └── ring.py ├── boolean.py ├── circuit.py ├── const_manager.py ├── location.py ├── node.py ├── node_info.py ├── operation.py ├── param.py ├── transformers │ ├── __init__.py │ ├── core.py │ └── isw.py └── utils │ └── __init__.py ├── circuits.7z ├── circuits └── .keep ├── lib └── .keep ├── tools └── trace.py ├── traces.7z ├── traces └── .keep └── wboxkit ├── __init__.py ├── ciphers ├── __init__.py └── aes │ ├── __init__.py │ ├── aes.py │ ├── bitaes.py │ ├── keyschedule.py │ ├── linear.py │ └── sbox.py ├── containers ├── __init__.py ├── rect.py └── vector.py ├── fastcircuit.c ├── fastcircuit.h ├── fastcircuit.py ├── masking.py ├── prng.py ├── serialize.py └── tracing.py /.gitignore: -------------------------------------------------------------------------------- 1 | circuits/ 2 | traces/ 3 | *.so -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile_NoSageMath: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Dockerfile_NoSageMath -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/README.md -------------------------------------------------------------------------------- /Tutorial 0 - Test Setup.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 0 - Test Setup.ipynb -------------------------------------------------------------------------------- /Tutorial 0 - Test Setup.slides.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 0 - Test Setup.slides.html -------------------------------------------------------------------------------- /Tutorial 1 - Circuits.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 1 - Circuits.ipynb -------------------------------------------------------------------------------- /Tutorial 1 - Circuits.slides.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 1 - Circuits.slides.html -------------------------------------------------------------------------------- /Tutorial 2 - Countermeasures.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 2 - Countermeasures.ipynb -------------------------------------------------------------------------------- /Tutorial 2 - Countermeasures.slides.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 2 - Countermeasures.slides.html -------------------------------------------------------------------------------- /Tutorial 3 - Tracing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 3 - Tracing.ipynb -------------------------------------------------------------------------------- /Tutorial 3 - Tracing.slides.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 3 - Tracing.slides.html -------------------------------------------------------------------------------- /Tutorial 4 - Attacks.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 4 - Attacks.ipynb -------------------------------------------------------------------------------- /Tutorial 4 - Attacks.slides.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/Tutorial 4 - Attacks.slides.html -------------------------------------------------------------------------------- /attacks/AES_AFTER_SBOX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/attacks/AES_AFTER_SBOX -------------------------------------------------------------------------------- /attacks/analyze_exact.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/attacks/analyze_exact.py -------------------------------------------------------------------------------- /attacks/analyze_linalg_1st.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/attacks/analyze_linalg_1st.py -------------------------------------------------------------------------------- /attacks/combine4daredevil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/attacks/combine4daredevil.py -------------------------------------------------------------------------------- /attacks/reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/attacks/reader.py -------------------------------------------------------------------------------- /attacks/sbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/attacks/sbox.py -------------------------------------------------------------------------------- /ches2022test.py: -------------------------------------------------------------------------------- 1 | HELLO = "It works!" 2 | -------------------------------------------------------------------------------- /circkit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/__init__.py -------------------------------------------------------------------------------- /circkit/arithmetic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/arithmetic.py -------------------------------------------------------------------------------- /circkit/array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/array.py -------------------------------------------------------------------------------- /circkit/bitwise/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/bitwise/__init__.py -------------------------------------------------------------------------------- /circkit/bitwise/circuit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/bitwise/circuit.py -------------------------------------------------------------------------------- /circkit/bitwise/const_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/bitwise/const_manager.py -------------------------------------------------------------------------------- /circkit/bitwise/ring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/bitwise/ring.py -------------------------------------------------------------------------------- /circkit/boolean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/boolean.py -------------------------------------------------------------------------------- /circkit/circuit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/circuit.py -------------------------------------------------------------------------------- /circkit/const_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/const_manager.py -------------------------------------------------------------------------------- /circkit/location.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/location.py -------------------------------------------------------------------------------- /circkit/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/node.py -------------------------------------------------------------------------------- /circkit/node_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/node_info.py -------------------------------------------------------------------------------- /circkit/operation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/operation.py -------------------------------------------------------------------------------- /circkit/param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/param.py -------------------------------------------------------------------------------- /circkit/transformers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/transformers/__init__.py -------------------------------------------------------------------------------- /circkit/transformers/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/transformers/core.py -------------------------------------------------------------------------------- /circkit/transformers/isw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/transformers/isw.py -------------------------------------------------------------------------------- /circkit/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circkit/utils/__init__.py -------------------------------------------------------------------------------- /circuits.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/circuits.7z -------------------------------------------------------------------------------- /circuits/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/trace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/tools/trace.py -------------------------------------------------------------------------------- /traces.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/traces.7z -------------------------------------------------------------------------------- /traces/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wboxkit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wboxkit/ciphers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wboxkit/ciphers/aes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/ciphers/aes/__init__.py -------------------------------------------------------------------------------- /wboxkit/ciphers/aes/aes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/ciphers/aes/aes.py -------------------------------------------------------------------------------- /wboxkit/ciphers/aes/bitaes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/ciphers/aes/bitaes.py -------------------------------------------------------------------------------- /wboxkit/ciphers/aes/keyschedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/ciphers/aes/keyschedule.py -------------------------------------------------------------------------------- /wboxkit/ciphers/aes/linear.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/ciphers/aes/linear.py -------------------------------------------------------------------------------- /wboxkit/ciphers/aes/sbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/ciphers/aes/sbox.py -------------------------------------------------------------------------------- /wboxkit/containers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/containers/__init__.py -------------------------------------------------------------------------------- /wboxkit/containers/rect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/containers/rect.py -------------------------------------------------------------------------------- /wboxkit/containers/vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/containers/vector.py -------------------------------------------------------------------------------- /wboxkit/fastcircuit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/fastcircuit.c -------------------------------------------------------------------------------- /wboxkit/fastcircuit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/fastcircuit.h -------------------------------------------------------------------------------- /wboxkit/fastcircuit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/fastcircuit.py -------------------------------------------------------------------------------- /wboxkit/masking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/masking.py -------------------------------------------------------------------------------- /wboxkit/prng.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/prng.py -------------------------------------------------------------------------------- /wboxkit/serialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/serialize.py -------------------------------------------------------------------------------- /wboxkit/tracing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hellman/ches2022wbc/HEAD/wboxkit/tracing.py --------------------------------------------------------------------------------