logo-bloc

Implementations of lightweight block ciphers on a WSN430 sensor

Please refer to the following papers whenever you use the source codes:
  1. Mickaël Cazorla, Kevin Marquet, and Marine Minier. Survey and benchmark of lightweight block ciphers for wireless sensor networks. IACR Cryptology ePrint Archive, 2013:295, 2013. http://eprint.iacr.org/2013/295.pdf. [ bib ]
  2. Mickaël Cazorla, Kevin Marquet, and Marine Minier. Survey and benchmark of lightweight block ciphers for wireless sensor networks. In Pierangela Samarati, editor, SECRYPT 2013 - Proceedings of the 10th International Conference on Security and Cryptography, Reykjavík, Iceland, 29-31 July, 2013, pages 543-548. SciTePress, 2013. [ bib ]
We implemented 21 lightweight block ciphers on the WSN430 sensor which is based on TI 16 bits microcontroller, the MSP430. Four persons participated to the library development using the same framework for all the ciphers. They are: Mickaël Cazorla, Sylvain Gourgeon, Kevin Marquet and Marine Minier.

We provide all the codes under license GPLv2 through the following git repository:

https://github.com/kmarquet/bloc

Use the repository to obtain our codes!
Please do not hesitate to improve our codes!

The ciphers under investigation are:
  • Classical block ciphers: AES, IDEA, NOEKEON (adapted codes from the Nessie submission), IDEA, SKIPJACK
  • Lightweight block ciphers: DESXL, HIGHT, KATAN and KTANTAN, KLEIN, LBlock, LED, mCrypton, MIBS, Piccolo, PRESENT, SEA, TEA and XTEA, TWINE, SIMON and SPECK
The performance evaluations of the different ciphers are given on separated pages according the compilation options: