Change top-level namespace from 'Thread' to 'ot'. (#1664)

This commit is contained in:
Jonathan Hui
2017-04-27 22:29:05 -07:00
committed by GitHub
parent 8bf14cfbbd
commit 1eabda6a08
276 changed files with 659 additions and 660 deletions
+4 -4
View File
@@ -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++)
{