/openthread-latest/tests/unit/ |
D | test_ecdsa.cpp | 95 DumpBuffer("KeyPair", keyPair.GetDerBytes(), keyPair.GetDerLength()); in TestEcdsaVector() 98 DumpBuffer("PublicKey", publicKey.GetBytes(), Ecdsa::P256::PublicKey::kSize); in TestEcdsaVector() 109 DumpBuffer("Hash", hash.GetBytes(), sizeof(hash)); in TestEcdsaVector() 113 DumpBuffer("Signature", signature.GetBytes(), sizeof(signature)); in TestEcdsaVector() 117 DumpBuffer("Expected signature", kExpectedSignature, sizeof(kExpectedSignature)); in TestEcdsaVector() 152 DumpBuffer("KeyPair", keyPair.GetDerBytes(), keyPair.GetDerLength()); in TestEcdsaKeyGenerationSignAndVerify() 155 DumpBuffer("PublicKey", publicKey.GetBytes(), Ecdsa::P256::PublicKey::kSize); in TestEcdsaKeyGenerationSignAndVerify() 162 DumpBuffer("Hash", hash.GetBytes(), sizeof(hash)); in TestEcdsaKeyGenerationSignAndVerify() 166 DumpBuffer("Signature", signature.GetBytes(), sizeof(signature)); in TestEcdsaKeyGenerationSignAndVerify()
|
D | test_hkdf_sha256.cpp | 138 DumpBuffer("\nInput Key", test->mInKey, test->mInKeyLength); in TestHkdfSha256() 139 DumpBuffer("\nSalt", test->mSalt, test->mSaltLength); in TestHkdfSha256() 140 DumpBuffer("\nInfo", test->mInfo, test->mInfoLength); in TestHkdfSha256() 141 DumpBuffer("\nExpected Output Key", test->mOutKey, test->mOutKeyLength); in TestHkdfSha256() 151 DumpBuffer("\nCalculated Output Key", outKey, test->mOutKeyLength); in TestHkdfSha256()
|
D | test_meshcop.cpp | 56 DumpBuffer("After SetToPermitAllJoiners()", steeringData.GetData(), steeringData.GetLength()); in TestSteeringData() 66 DumpBuffer("After Clear()", steeringData.GetData(), steeringData.GetLength()); in TestSteeringData() 88 …DumpBuffer("After UpdateBloomFilter(joinerId1)", steeringData.GetData(), steeringData.GetLength()); in TestSteeringData() 95 …DumpBuffer("After UpdateBloomFilter(joinerId2)", steeringData.GetData(), steeringData.GetLength()); in TestSteeringData()
|
D | test_spinel_encoder.cpp | 143 DumpBuffer("Buffer", buffer, 256); in TestEncoder() 145 DumpBuffer("Frame", frame, frameLen); in TestEncoder() 198 DumpBuffer("Buffer", buffer, 256); in TestEncoder() 200 DumpBuffer("Frame", frame, frameLen); in TestEncoder() 256 DumpBuffer("Buffer", buffer, 256 + 100); in TestEncoder()
|
D | test_util.hpp | 44 void DumpBuffer(const char *aTextMessage, const uint8_t *aBuffer, uint16_t aBufferLength);
|
D | test_util.cpp | 33 void DumpBuffer(const char *aTextMessage, const uint8_t *aBuffer, uint16_t aBufferLength) in DumpBuffer() function
|
D | test_dns.cpp | 363 DumpBuffer(test.mName, buffer, len); in TestDnsName() 518 DumpBuffer(test.mName, buffer, len); in TestDnsName() 541 DumpBuffer(test.mName, buffer, len); in TestDnsName() 712 DumpBuffer(kName, buffer, sizeof(kEncodedName)); in TestDnsCompressedName() 796 DumpBuffer("name2(compressed)", buffer, kName2EncodedSize); in TestDnsCompressedName() 884 DumpBuffer("name2(compressed)", buffer, kName3EncodedSize); in TestDnsCompressedName() 952 DumpBuffer("name4(compressed)", buffer, kName4EncodedSize); in TestDnsCompressedName() 1015 DumpBuffer("message2", buffer, message2->GetLength()); in TestDnsCompressedName() 1043 DumpBuffer("pointer-moving-forward", kEncodedName, sizeof(kEncodedName)); in TestDnsCompressedName() 1055 DumpBuffer("looped-name", kEncodedName, sizeof(kEncodedName)); in TestDnsCompressedName() [all …]
|
D | test_cmd_line_parser.cpp | 301 DumpBuffer(kEvenHexString, buffer, len); in TestParsingHexStrings() 306 DumpBuffer(kOddHexString, buffer, len); in TestParsingHexStrings()
|
D | test_spinel_decoder.cpp | 119 DumpBuffer("Packed Spinel Frame", buffer, static_cast<uint16_t>(frameLen)); in TestDecoder() 305 DumpBuffer("Packed Spinel Frame (single struct)", buffer, static_cast<uint16_t>(frameLen)); in TestDecoder() 417 DumpBuffer("Packed Spinel Frame (multiple struct)", buffer, static_cast<uint16_t>(frameLen)); in TestDecoder() 611 DumpBuffer("Packed Spinel Frame (incorrect format)", buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
|
D | test_message.cpp | 370 DumpBuffer("Data1", buffer, sizeof(buffer)); in TestAppender() 377 DumpBuffer("Data1+Data2", buffer, sizeof(buffer)); in TestAppender() 388 DumpBuffer("Data1+Data2+Data1", buffer, sizeof(buffer)); in TestAppender()
|
D | test_spinel_buffer.cpp | 370 DumpBuffer("\nBuffer after frame1 (low priority)", buffer, kTestBufferSize); in TestBuffer() 375 DumpBuffer("\nBuffer after frame1 (high priority)", buffer, kTestBufferSize); in TestBuffer() 424 DumpBuffer("\nBuffer after multiple frames", buffer, kTestBufferSize); in TestBuffer() 609 DumpBuffer("Read() returned", readBuffer, readLen); in TestBuffer()
|
D | test_heap_string.cpp | 153 void PrintData(const Heap::Data &aData) { DumpBuffer("data", aData.GetBytes(), aData.GetLength()); } in PrintData()
|
D | test_network_data.cpp | 562 DumpBuffer("netdata", GetBytes(), GetLength()); in Test() 711 DumpBuffer("netdata", kNetworkData, sizeof(kNetworkData)); in TestNetworkDataDsnSrpServices()
|
D | test_lowpan.cpp | 171 DumpBuffer("Expected IPv6 uncompressed packet", ip6, ip6Length); in Test() 172 DumpBuffer("Expected LOWPAN_IPHC compressed frame", iphc, iphcLength); in Test() 196 DumpBuffer("Resulted LOWPAN_IPHC compressed frame", result, in Test() 244 …DumpBuffer("Resulted IPv6 uncompressed packet", result, message->GetLength() + frameData.GetLength… in Test()
|
D | test_mac_frame.cpp | 422 DumpBuffer(string, frame.GetPsdu(), frame.GetLength()); in TestMacHeader()
|