Home
last modified time | relevance | path

Searched refs:kErrorFailed (Results 1 – 25 of 28) sorted by relevance

12

/openthread-latest/src/core/crypto/
Dcrypto_platform.cpp94 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_aes_context), error = kErrorFailed); in otPlatCryptoAesInit()
110 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_aes_context), error = kErrorFailed); in otPlatCryptoAesSetKey()
114 error = kErrorFailed); in otPlatCryptoAesSetKey()
126 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_aes_context), error = kErrorFailed); in otPlatCryptoAesEncrypt()
129 …(mbedtls_aes_crypt_ecb(context, MBEDTLS_AES_ENCRYPT, aInput, aOutput) == 0), error = kErrorFailed); in otPlatCryptoAesEncrypt()
141 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_aes_context), error = kErrorFailed); in otPlatCryptoAesFree()
160 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_md_context_t), error = kErrorFailed); in otPlatCryptoHmacSha256Init()
165 VerifyOrExit((mbedtls_md_setup(context, mdInfo, 1) == 0), error = kErrorFailed); in otPlatCryptoHmacSha256Init()
177 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_md_context_t), error = kErrorFailed); in otPlatCryptoHmacSha256Deinit()
193 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_md_context_t), error = kErrorFailed); in otPlatCryptoHmacSha256Start()
[all …]
Dmbedtls.cpp147 error = kErrorFailed; in MapError()
164 error = kErrorFailed; in MapError()
/openthread-latest/src/core/net/
Dsrp_server.cpp813 VerifyOrExit(aMetadata.mDnsHeader.GetPrerequisiteRecordCount() == 0, error = kErrorFailed); in ProcessDnsUpdate()
915 VerifyOrExit(IsValidDeleteAllRecord(record), error = kErrorFailed); in ProcessHostDescriptionInstruction()
931 VerifyOrExit(record.GetClass() == aMetadata.mDnsZone.GetClass(), error = kErrorFailed); in ProcessHostDescriptionInstruction()
948 VerifyOrExit(record.GetClass() == aMetadata.mDnsZone.GetClass(), error = kErrorFailed); in ProcessHostDescriptionInstruction()
971 VerifyOrExit(aHost.GetFullName() != nullptr, error = kErrorFailed); in ProcessHostDescriptionInstruction()
972 VerifyOrExit(aHost.mParsedKey, error = kErrorFailed); in ProcessHostDescriptionInstruction()
1040 error = kErrorFailed); in ProcessServiceDiscoveryInstructions()
1054 VerifyOrExit(!service->HasSubTypeServiceName(serviceName), error = kErrorFailed); in ProcessServiceDiscoveryInstructions()
1072 VerifyOrExit(service->mServiceName.IsNull(), error = kErrorFailed); in ProcessServiceDiscoveryInstructions()
1121 VerifyOrExit(IsValidDeleteAllRecord(record), error = kErrorFailed); in ProcessServiceDescriptionInstructions()
[all …]
Dsntp_client.cpp274 VerifyOrExit(responseHeader.GetMode() == Header::kModeServer, error = kErrorFailed); in HandleUdpReceive()
291 error = kErrorFailed); in HandleUdpReceive()
Ddns_types.cpp48 Error error = kErrorFailed; in ResponseCodeToError()
64 error = kErrorFailed; in ResponseCodeToError()
Dtcp6.cpp264 VerifyOrExit(cbuf_used_space(&tp.recvbuf) >= aNumBytes, error = kErrorFailed); in CommitReceive()
754 Error error = kErrorFailed; in BsdErrorToOtError()
Ddns_client.cpp1149 error = kErrorFailed); in SendQuery()
1567 Error error = kErrorFailed; in ReplaceWithIp4Query()
1681 Error error = kErrorFailed; in ReplaceWithSeparateSrvTxtQueries()
/openthread-latest/tests/nexus/platform/
Dnexus_misc.cpp92 VerifyOrExit(file != nullptr, error = kErrorFailed); in otPlatEntropyGet()
98 error = kErrorFailed; in otPlatEntropyGet()
Dnexus_radio.cpp87 VerifyOrExit(radio.mState == Radio::kStateDisabled, error = kErrorFailed); in otPlatRadioEnable()
/openthread-latest/src/core/utils/
Dverhoeff_checksum.cpp111 VerifyOrExit(code == 0, error = kErrorFailed); in Validate()
Dslaac_address.cpp422 Error error = kErrorFailed; in GenerateIid()
Dmesh_diag.cpp266 Error error = kErrorFailed; in ProcessMessage()
/openthread-latest/src/core/common/
Derror.hpp55 constexpr Error kErrorFailed = OT_ERROR_FAILED; variable
/openthread-latest/src/core/api/
Dthread_api.cpp362 VerifyOrExit(*aParentRssi != Radio::kInvalidRssi, error = kErrorFailed); in otThreadGetParentAverageRssi()
376 VerifyOrExit(*aLastRssi != Radio::kInvalidRssi, error = kErrorFailed); in otThreadGetParentLastRssi()
/openthread-latest/src/core/meshcop/
Dtcat_agent.cpp77 VerifyOrExit(mVendorInfo != nullptr, error = kErrorFailed); in Start()
729 VerifyOrExit(StringLength(mVendorInfo->mPskdString, kMaxPskdLength) != 0, error = kErrorFailed); in HandleRequestPskdHash()
/openthread-latest/src/core/thread/
Dindirect_sender.cpp509 txError = kErrorFailed; in HandleSentFrameToChild()
Dmesh_forwarder_ftd.cpp853 Error error = kErrorFailed; in LogMeshFragmentHeader()
Dlowpan.cpp456 VerifyOrExit(len <= kExtHdrMaxLength, error = kErrorFailed); in CompressExtensionHeader()
Dnetwork_diagnostic.cpp950 VerifyOrExit(aMessage->GetCode() == Coap::kCodeChanged, aResult = kErrorFailed); in HandleGetResponse()
Dmesh_forwarder.cpp1285 txError = kErrorFailed; in UpdateSendMessage()
/openthread-latest/src/core/radio/
Dble_secure.cpp80 VerifyOrExit(advertisementData != nullptr, error = kErrorFailed); in Start()
/openthread-latest/tests/unit/
Dtest_checksum.cpp507 VerifyOrQuit(Utils::VerhoeffChecksum::Validate(string) == kErrorFailed); in TestVerhoeffChecksum()
Dtest_network_data.cpp522 Error error = kErrorFailed; in ValidateServiceData()
Dtest_srp_server.cpp264 otSrpServerHandleServiceUpdateResult(sInstance, aId, kErrorFailed); in HandleSrpServerUpdate()
/openthread-latest/src/core/coap/
Dcoap.cpp805 VerifyOrExit((response = NewMessage()) != nullptr, error = kErrorFailed); in ProcessBlock1Request()

12