mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 21:57:47 +00:00
Change top-level namespace from 'Thread' to 'ot'. (#1664)
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include <crypto/mbedtls.hpp>
|
||||
|
||||
#ifndef OPENTHREAD_MULTIPLE_INSTANCE
|
||||
static Thread::Crypto::MbedTls mMbedTls;
|
||||
static ot::Crypto::MbedTls mMbedTls;
|
||||
#endif
|
||||
|
||||
void TestHmacSha256(void)
|
||||
@@ -44,7 +44,7 @@ void TestHmacSha256(void)
|
||||
{
|
||||
const char *key;
|
||||
const char *data;
|
||||
uint8_t hash[Thread::Crypto::HmacSha256::kHashSize];
|
||||
uint8_t hash[ot::Crypto::HmacSha256::kHashSize];
|
||||
} tests[] =
|
||||
{
|
||||
{
|
||||
@@ -64,8 +64,8 @@ void TestHmacSha256(void)
|
||||
},
|
||||
};
|
||||
|
||||
Thread::Crypto::HmacSha256 hmac;
|
||||
uint8_t hash[Thread::Crypto::HmacSha256::kHashSize];
|
||||
ot::Crypto::HmacSha256 hmac;
|
||||
uint8_t hash[ot::Crypto::HmacSha256::kHashSize];
|
||||
|
||||
for (int i = 0; tests[i].key != NULL; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user