otPlatCryptoAesCcmConfig

#include <openthread/platform/crypto.h>

Holds the parameters for a one-shot AES-CCM* operation passed to otPlatCryptoAesCcmProcessOneShot.

Summary

Public attributes

mHeaderLength
uint32_t
Length of the additional authenticated data (header) in bytes.
mKey
The encryption key.
mNonce
const uint8_t *
Pointer to the nonce buffer (IEEE 802.15.4 CCM* format, 13 bytes).
mNonceLength
uint8_t
Length of mNonce in bytes.
mPlainTextLength
uint32_t
Payload length in bytes (excluding tag).
mTagLength
uint8_t
Authentication tag length in bytes (even)

Public attributes

mHeaderLength

uint32_t otPlatCryptoAesCcmConfig::mHeaderLength

Length of the additional authenticated data (header) in bytes.

mKey

otCryptoKey otPlatCryptoAesCcmConfig::mKey

The encryption key.

mNonce

const uint8_t * otPlatCryptoAesCcmConfig::mNonce

Pointer to the nonce buffer (IEEE 802.15.4 CCM* format, 13 bytes).

mNonceLength

uint8_t otPlatCryptoAesCcmConfig::mNonceLength

Length of mNonce in bytes.

mPlainTextLength

uint32_t otPlatCryptoAesCcmConfig::mPlainTextLength

Payload length in bytes (excluding tag).

mTagLength

uint8_t otPlatCryptoAesCcmConfig::mTagLength

Authentication tag length in bytes (even)

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.