![]() |
0.01.00
|
This file defines the OpenThread crypto C APIs. More...
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | OT_CRYPTO_HMAC_SHA_HASH_SIZE 32 |
Length of HMAC SHA (in bytes). | |
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 defines the OpenThread crypto C APIs.