The friendly Operating System for the Internet of Things
RIOT provides a collection of block cipher ciphers, different operation modes and cryptographic hash algorithms. More...
Riot supports the following block ciphers:
You can use them directly by adding "crypto" to your USEMODULE-List. While you can use the ciphers functions directly, you should resort to the generic API for block ciphers whenever possible.
Additionally you need to set a CFLAG for each cipher you want to use in your Makefile:
If you need to encrypt data of arbitrary size take a look at the different operation modes like: CBC, CTR or CCM.
Additional examples can be found in the test suite.
|Headers for the implementation of the 3DES cipher-algorithm. |
|Headers for the implementation of the AES cipher-algorithm. |
|Headers of the implementation of the CBC Mode of Operation. |
|ChaCha stream cipher. |
|Headers for the packet encryption class. |
|helper functions for sys_crypto_modes |
|Cipher block chaining mode of operation for block ciphers. |
|Counter with CBC-MAC mode of operation for block ciphers. |
|Counter mode of operation for block ciphers. |
|Electronic code book mode of operation for block ciphers. |