mirror of
https://github.com/espressif/openthread.git
synced 2026-09-06 01:00:09 +00:00
[crypto] adding HMAC Key Derivation Function (HKDF) using SHA-256 (#4440)
This commit adds a new class `Crypto::HkdfSha256` which implements HMAC-based Extract-and-Expand Key Derivation Function from RFC-5869 using SHA-256. It also adds a unit test for the new module.
This commit is contained in:
committed by
Jonathan Hui
parent
61e77bf6ed
commit
48333ce530
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
void DumpBuffer(const char *aTextMessage, uint8_t *aBuffer, uint16_t aBufferLength)
|
||||
void DumpBuffer(const char *aTextMessage, const uint8_t *aBuffer, uint16_t aBufferLength)
|
||||
{
|
||||
enum
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user