1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 15:31:17 +01:00

sys/ccm: define max MAC length

This commit is contained in:
Francisco Molina 2020-06-25 22:34:54 +02:00
parent e1a754a9c9
commit 0452e168d7
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -42,6 +42,10 @@ extern "C" {
*/
#define CCM_BLOCK_SIZE 16
/**
* @brief Maximum length for the appended MAC
*/
#define CCM_MAC_MAX_LEN 16
/**
* @brief Encrypt and authenticate data of arbitrary length in ccm mode.