/openthread-latest/src/core/crypto/ |
D | storage.hpp | 276 mKey = aKeyBytes; in Set() 288 const uint8_t *GetBytes(void) const { return mKey; } in GetBytes() 308 bool IsKeyRef(void) const { return (mKey == nullptr); } in IsKeyRef() 326 mKey = nullptr; in SetAsKeyRef() 370 const uint8_t *GetBytes(void) const { return mKey; } in GetBytes() 380 const uint8_t *mKey; member in ot::Crypto::LiteralKey
|
D | storage.cpp | 74 : mKey(aKey.GetBytes()) in LiteralKey() 80 mKey = mBuffer; in LiteralKey()
|
/openthread-latest/src/core/utils/ |
D | flash.hpp | 143 mKey = aKey; in Init() 155 uint16_t GetKey(void) const { return mKey; } in GetKey() 156 void SetKey(uint16_t aKey) { mKey = aKey; } in SetKey() 184 uint16_t mKey; member in ot::Flash::RecordHeader
|
/openthread-latest/src/core/common/ |
D | string.hpp | 524 uint16_t mKey; ///< The key value. member in ot::Stringify::Entry 528 int Compare(uint16_t aKey) const { return ThreeWayCompare(aKey, mKey); } in Compare() 532 return aFirst.mKey < aSecond.mKey; in AreInOrder()
|
/openthread-latest/tests/nexus/platform/ |
D | nexus_settings.hpp | 69 bool Matches(uint16_t aKey) const { return mKey == aKey; } in Matches() 72 uint16_t mKey; member
|
D | nexus_settings.cpp | 113 entry->mKey = aKey; in SetOrAdd()
|
/openthread-latest/tests/unit/ |
D | test_hmac_sha256.cpp | 144 otCryptoKey mKey; in TestHmacSha256() member 247 hmac.Start(static_cast<const Crypto::Key &>(testCase.mKey)); in TestHmacSha256() 273 hmac.Start(static_cast<const Crypto::Key &>(testCase.mKey)); in TestHmacSha256()
|
D | test_dns.cpp | 1648 uint8_t expectedKeyLength = static_cast<uint8_t>(strlen(expectedTxtEntry.mKey)); in TestDnsTxtEntry() 1651 …printf("key:\"%s\" valueLen:%d\n", txtEntry.mKey != nullptr ? txtEntry.mKey : "(null)", txtEntry.m… in TestDnsTxtEntry() 1659 … VerifyOrQuit(txtEntry.mKey == nullptr, "TxtEntry key does not match expected value for long key"); in TestDnsTxtEntry() 1662 VerifyOrQuit(memcmp(txtEntry.mValue, expectedTxtEntry.mKey, expectedKeyLength) == 0); in TestDnsTxtEntry() 1669 VerifyOrQuit(strcmp(txtEntry.mKey, expectedTxtEntry.mKey) == 0); in TestDnsTxtEntry() 1680 VerifyOrQuit((txtEntry.mKey == nullptr) == (expectedTxtEntry.mKey == nullptr), in TestDnsTxtEntry() 1691 txtEntry.mKey = kShortKey; in TestDnsTxtEntry() 1710 txtEntry.mKey = nullptr; in TestDnsTxtEntry() 1734 …VerifyOrQuit((txtEntry.mKey[0] == 'A') && (txtEntry.mKey[1] == '\0'), "GetNextEntry() got incorrec… in TestDnsTxtEntry() 1739 …VerifyOrQuit((txtEntry.mKey[0] == 'D') && (txtEntry.mKey[1] == '\0'), "GetNextEntry() got incorrec… in TestDnsTxtEntry()
|
D | test_hkdf_sha256.cpp | 145 testInputKey.mKey = test->mInKey; in TestHkdfSha256()
|
/openthread-latest/src/core/mac/ |
D | mac_types.hpp | 546 const Key &GetKey(void) const { return static_cast<const Key &>(mKeyMaterial.mKey); } in GetKey() 600 Key &GetKey(void) { return static_cast<Key &>(mKeyMaterial.mKey); } in GetKey() 601 void SetKey(const Key &aKey) { mKeyMaterial.mKey = aKey; } in SetKey()
|
/openthread-latest/include/openthread/ |
D | dns.h | 91 const char *mKey; member
|
/openthread-latest/src/core/radio/ |
D | trel_interface.cpp | 269 if (entry.mKey == nullptr) in ParsePeerInfoTxtData() 274 if (StringMatch(entry.mKey, kTxtRecordExtAddressKey)) in ParsePeerInfoTxtData() 281 else if (StringMatch(entry.mKey, kTxtRecordExtPanIdKey)) in ParsePeerInfoTxtData()
|
/openthread-latest/src/core/net/ |
D | dns_types.cpp | 1042 aEntry.mKey = keyBuffer; in GetNextEntry() 1077 aEntry.mKey = nullptr; in GetNextEntry() 1114 if (mKey == nullptr) in AppendTo() 1121 keyLength = StringLength(mKey, static_cast<uint16_t>(kMaxKeyValueEncodedSize) + 1); in AppendTo() 1129 error = aAppender.AppendBytes(mKey, keyLength); in AppendTo() 1138 SuccessOrExit(error = aAppender.AppendBytes(mKey, keyLength)); in AppendTo()
|
D | dns_types.hpp | 1198 mKey = aKey; in Init() 2127 const Crypto::Ecdsa::P256::PublicKey &GetKey(void) const { return mKey; } in GetKey() 2134 void SetKey(const Crypto::Ecdsa::P256::PublicKey &aKey) { mKey = aKey; } in SetKey() 2137 Crypto::Ecdsa::P256::PublicKey mKey; member in ot::Dns::Ecdsa256KeyRecord
|
D | srp_server.cpp | 353 if ((existingHost != nullptr) && (aHost.mKey != existingHost->mKey)) in HasNameConflictsWith() 367 if (host.HasService(service.GetInstanceName()) && (aHost.mKey != host.mKey)) in HasNameConflictsWith() 957 VerifyOrExit(aHost.mKey == keyRecord.GetKey(), error = kErrorSecurity); in ProcessHostDescriptionInstruction() 962 aHost.mKey = keyRecord.GetKey(); in ProcessHostDescriptionInstruction() 1280 …SuccessOrExit(error = VerifySignature(aHost->mKey, aMessage, aMetadata.mDnsHeader, sigOffset, sigR… in ProcessAdditionalSection()
|
D | srp_server.hpp | 509 const Key &GetKey(void) const { return mKey; } in GetKey() 575 Key mKey; member in ot::Srp::Server::Host
|
D | srp_advertising_proxy.cpp | 1074 RegisterKey(hostName, /* aServiceType */ nullptr, aHost.mKey, aHost.mKeyAdvId, aHost.GetTtl()); in RegisterKey() 1088 …RegisterKey(aService.GetInstanceLabel(), serviceType, aService.mHost->mKey, aService.mKeyAdvId, aS… in RegisterKey()
|
/openthread-latest/src/posix/platform/ |
D | rcp_caps_diag.hpp | 106 spinel_prop_key_t mKey; member
|
D | rcp_caps_diag.cpp | 258 memset(prevKey.mKeyMaterial.mKey.m8, 0x11, OT_MAC_KEY_SIZE); in HandleSpinelCommand() 259 memset(curKey.mKeyMaterial.mKey.m8, 0x22, OT_MAC_KEY_SIZE); in HandleSpinelCommand() 260 memset(nextKey.mKeyMaterial.mKey.m8, 0x33, OT_MAC_KEY_SIZE); in HandleSpinelCommand() 800 const char *keyString = spinel_prop_key_to_cstr(aEntry.mKey); in OutputResult()
|
/openthread-latest/src/ncp/ |
D | ncp_base_dispatcher.cpp | 41 : ((aHandlerEntries[aSize - 1].mKey > aHandlerEntries[aSize - 2].mKey) && in AreHandlerEntriesSorted() 823 if (aHandlerEntries[m].mKey < aKey) in FindPropertyHandler() 833 return aHandlerEntries[l].mKey == aKey ? aHandlerEntries[l].mHandler : nullptr; in FindPropertyHandler()
|
D | ncp_base.hpp | 353 spinel_prop_key_t mKey; member
|
/openthread-latest/include/openthread/platform/ |
D | crypto.h | 112 …const uint8_t *mKey; ///< Pointer to the buffer containing key. NULL indicates to use `mKeyR… member
|
D | radio.h | 217 otMacKey mKey; ///< Key stored as literal. member
|
/openthread-latest/src/cli/ |
D | cli_utils.cpp | 237 if (entry.mKey == nullptr) in OutputDnsTxtData() 250 OutputFormat("%s", entry.mKey); in OutputDnsTxtData()
|
/openthread-latest/src/lib/spinel/ |
D | radio_spinel.cpp | 903 return SetMacKey(aKeyIdMode, aKeyId, aPrevKey->mKeyMaterial.mKey, aCurrKey->mKeyMaterial.mKey, in SetMacKey() 904 aNextKey->mKeyMaterial.mKey); in SetMacKey()
|