/openthread-latest/src/core/coap/ |
D | coap.cpp | 69 Metadata metadata; in ClearRequests() local 71 metadata.ReadFrom(message); in ClearRequests() 73 if ((aAddress == nullptr) || (metadata.mSourceAddress == *aAddress)) in ClearRequests() 75 FinalizeCoapTransaction(message, metadata, nullptr, nullptr, kErrorAbort); in ClearRequests() 276 Metadata metadata; in SendMessage() local 311 metadata.mSourceAddress = aMessageInfo.GetSockAddr(); in SendMessage() 312 metadata.mDestinationPort = aMessageInfo.GetPeerPort(); in SendMessage() 313 metadata.mDestinationAddress = aMessageInfo.GetPeerAddr(); in SendMessage() 314 metadata.mMulticastLoop = aMessageInfo.GetMulticastLoop(); in SendMessage() 315 metadata.mResponseHandler = aHandler; in SendMessage() [all …]
|
/openthread-latest/src/core/net/ |
D | ip6_mpl.cpp | 334 Metadata metadata; in AddBufferedMessage() local 362 metadata.mSeedId = aSeedId; in AddBufferedMessage() 363 metadata.mSequence = aSequence; in AddBufferedMessage() 364 metadata.mTransmissionCount = aMessage.IsOriginThreadNetif() ? 0 : 1; in AddBufferedMessage() 365 metadata.mIntervalOffset = 0; in AddBufferedMessage() 366 metadata.GenerateNextTransmissionTime(TimerMilli::GetNow(), interval); in AddBufferedMessage() 368 SuccessOrExit(error = metadata.AppendTo(*messageCopy)); in AddBufferedMessage() 371 mRetransmissionTimer.FireAtIfEarlier(metadata.mTransmissionTime); in AddBufferedMessage() 383 Metadata metadata; in HandleRetransmissionTimer() local 387 metadata.ReadFrom(message); in HandleRetransmissionTimer() [all …]
|
D | srp_server.cpp | 1573 MessageMetadata metadata; in ProcessMessage() local 1575 metadata.mOffset = aMessage.GetOffset(); in ProcessMessage() 1576 metadata.mRxTime = aRxTime; in ProcessMessage() 1577 metadata.mTtlConfig = aTtlConfig; in ProcessMessage() 1578 metadata.mLeaseConfig = aLeaseConfig; in ProcessMessage() 1579 metadata.mMessageInfo = aMessageInfo; in ProcessMessage() 1581 SuccessOrExit(error = aMessage.Read(metadata.mOffset, metadata.mDnsHeader)); in ProcessMessage() 1582 metadata.mOffset += sizeof(Dns::UpdateHeader); in ProcessMessage() 1584 …VerifyOrExit(metadata.mDnsHeader.GetType() == Dns::UpdateHeader::Type::kTypeQuery, error = kErrorD… in ProcessMessage() 1585 …VerifyOrExit(metadata.mDnsHeader.GetQueryType() == Dns::UpdateHeader::kQueryTypeUpdate, error = kE… in ProcessMessage() [all …]
|
/openthread-latest/src/posix/platform/ |
D | mdns_socket.cpp | 245 Metadata metadata; in SendMulticast() local 259 metadata.mIp6Address = mMulticastIp6Address; in SendMulticast() 260 metadata.mIp6Port = kMdnsPort; in SendMulticast() 261 metadata.mIp4Address = mMulticastIp4Address; in SendMulticast() 262 metadata.mIp4Port = kMdnsPort; in SendMulticast() 264 SuccessOrExit(otMessageAppend(aMessage, &metadata, sizeof(Metadata))); in SendMulticast() 282 Metadata metadata; in SendUnicast() local 296 memset(&metadata, 0, sizeof(Metadata)); in SendUnicast() 298 if (otIp4FromIp4MappedIp6Address(&aAddress->mAddress, &metadata.mIp4Address) == OT_ERROR_NONE) in SendUnicast() 301 metadata.mIp4Port = aAddress->mPort; in SendUnicast() [all …]
|
/openthread-latest/src/core/meshcop/ |
D | joiner_router.cpp | 200 JoinerEntrustMetadata metadata; in DelaySendingJoinerEntrust() local 204 metadata.mMessageInfo = aMessageInfo; in DelaySendingJoinerEntrust() 205 metadata.mMessageInfo.SetPeerPort(Tmf::kUdpPort); in DelaySendingJoinerEntrust() 206 metadata.mSendTime = TimerMilli::GetNow() + kJoinerEntrustTxDelay; in DelaySendingJoinerEntrust() 207 metadata.mKek = aKek; in DelaySendingJoinerEntrust() 209 SuccessOrExit(error = metadata.AppendTo(*message)); in DelaySendingJoinerEntrust() 215 mTimer.FireAt(metadata.mSendTime); in DelaySendingJoinerEntrust() 227 JoinerEntrustMetadata metadata; in SendDelayedJoinerEntrust() local 233 metadata.ReadFrom(*message); in SendDelayedJoinerEntrust() 235 if (TimerMilli::GetNow() < metadata.mSendTime) in SendDelayedJoinerEntrust() [all …]
|
/openthread-latest/third_party/mbedtls/repo/docs/ |
D | requirements.txt | 28 importlib-metadata==6.0.0 79 # via importlib-metadata
|
D | psa-transition.md | 312 ### Cipher metadata 334 …e_iv_size`: the PSA API does not currently have such mechanism for high-level metadata information. 485 ### Hash algorithm metadata 784 …that just contains the number(s) that make up the key, with very little metadata. The table below … 804 * Parsing a key in a format with metadata without knowing its type ahead of time. 887 ### Key pair and public key metadata 895 …a865b918). For code that uses both `mbedtls_pk_context` objects and PSA metadata encoding, [`mbedt… 1197 #### ECDH and DHM metadata functions 1199 You can obtain data and metadata from an ECDH key agreement through the PSA API as follows: 1201 …ttributes/#group__attributes_1ga5bee85c2164ad3d4c0d42501241eeb06) to obtain metadata about the key. [all …]
|
/openthread-latest/third_party/mbedtls/repo/scripts/ |
D | abi_check.py | 318 metadata = SimpleNamespace( 323 storage_tests[test_case_data] = metadata 470 metadata = old_tests[test_data] 473 metadata.filename, metadata.line_number, 474 metadata.description, test_data
|
/openthread-latest/tools/tcat_ble_client/ |
D | poetry.lock | 122 name = "importlib-metadata" 124 description = "Read metadata from Python packages" 175 importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} 269 importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} 315 [metadata]
|
/openthread-latest/third_party/mbedtls/repo/docs/architecture/testing/ |
D | psa-storage-format-testing.md | 25 In addition, the test case also loads the key and checks that it has the expected data and metadata… 45 * [Key files](#key-storage) (files containing one key's metadata and, except for some secure elemen… 68 …metadata with `psa_import_key`. Read the file content and validate that it has the expected layout…
|
D | driver-interface-test-strategy.md | 56 …t from the expected inputs (as is often the case for cryptographic material, but not for metadata).
|
D | invasive-testing.md | 350 …, but also by the numerical values of encodings for key types and other metadata. For numerical va…
|
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/ |
D | psa-legacy-bridges.md | 60 * Convert between PSA and legacy metadata. 78 …pens](#where-mixing-happens)”, we focus the gap analysis on two topics: metadata and keys. This ch… 80 ### Generic metadata gaps 92 … and involves no nontrivial data format. Therefore the only gap is with metadata, namely specifyin… 94 …or other mechanisms (HMAC, signatures, key derivation, etc.). Therefore metadata about hashes is r… 116 #### Asymmetric cryptography metadata 125 …this happens internally: the EC-JPAKE interface only needs one piece of metadata, namely, to ident… 127 …vert between legacy and PSA asymmetric key types on their own. The useful metadata conversions are: 237 #### Asymmetric cryptography metadata APIs 239 Based on the [gap analysis](#asymmetric-cryptography-metadata): [all …]
|
D | md-cipher-dispatch.md | 221 * How to obtain metadata about algorithms (e.g. hash/MAC/tag size, key size). 273 In this section, we specify a hash metadata and calculation for the [mixed domain](#classification-… 306 * Obtain some metadata about it (size, block size). 535 #### Remove metadata from the info structure 537 …nd in modules that want a hash's block size, instead of looking up hash metadata in the info struc…
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_ecp.data | 352 Check ECP group metadata #1 secp192k1 (SEC 2) 356 Check ECP group metadata #2 secp192r1 (SEC 2) 360 Check ECP group metadata #3 secp224k1 (SEC 2) 364 Check ECP group metadata #4 secp224r1 (SEC 2) 368 Check ECP group metadata #5 secp256k1 (SEC 2) 372 Check ECP group metadata #6 secp256r1 (SEC 2) 376 Check ECP group metadata #7 secp384r1 (SEC 2) 380 Check ECP group metadata #8 secp521r1 (SEC 2) 384 Check ECP group metadata #9 bp256r1 (RFC 5639) 388 Check ECP group metadata #10 bp384r1 (RFC 5639) [all …]
|
D | test_suite_psa_crypto_metadata.function | 2 /* Test macros that provide metadata about algorithms and key types.
|
/openthread-latest/third_party/mbedtls/repo/docs/architecture/ |
D | mbed-crypto-storage-specification.md | 68 The file format is just the seed as a byte string with no metadata or encoding of any kind. 127 The file format is just the seed as a byte string with no metadata or encoding of any kind. 298 * The file containing the key metadata designated by the key identifier. 302 * The file containing the key metadata designated by the key identifier. 462 * The file containing the key metadata designated by the key identifier. 466 * The file containing the key metadata designated by the key identifier.
|
D | psa-storage-resilience.md | 156 … operation where it left off. For key creation, this means that the key metadata needs to be saved… 196 For key creation, we do not need to store the key's metadata until it has been created in the secur… 221 For key creation, we need to store the key's metadata before creating in the secure element. Theref…
|
/openthread-latest/third_party/mbedtls/repo/docs/proposed/ |
D | psa-driver-interface.md | 1088 … for the key, use `"base_size"` as the size of the label plus any other metadata that the driver n… 1094 …rm outside the secure element, and the wrapped form of the key plus any metadata has up to *N* byt… 1241 … provide a `"get_builtin_key"` entry point to retrieve the key data and metadata. The core calls t… 1261 …and the output parameters `attributes` and `key_buffer` contain the key metadata and key context r…
|