![]() |
0.01.00
|
This file implements the OpenThread Crypto API. More...
#include "openthread-core-config.h"
#include <openthread/crypto.h>
#include "common/code_utils.hpp"
#include "common/debug.hpp"
#include "crypto/aes_ccm.hpp"
#include "crypto/hmac_sha256.hpp"
Functions | |
void | otCryptoHmacSha256 (const uint8_t *aKey, uint16_t aKeyLength, const uint8_t *aBuf, uint16_t aBufLength, uint8_t *aHash) |
This function performs HMAC computation. More... | |
void | otCryptoAesCcm (const uint8_t *aKey, uint16_t aKeyLength, uint8_t aTagLength, const void *aNonce, uint8_t aNonceLength, const void *aHeader, uint32_t aHeaderLength, void *aPlainText, void *aCipherText, uint32_t aLength, bool aEncrypt, void *aTag) |
This method performs AES CCM computation. More... | |
This file implements the OpenThread Crypto API.