Home
last modified time | relevance | path

Searched refs:kErrorSecurity (Results 1 – 13 of 13) sorted by relevance

/openthread-latest/src/core/meshcop/
Dtcat_agent.cpp491 case kErrorSecurity: in HandleSingleTlv()
665 VerifyOrExit(mVendorInfo->mPskdString != nullptr, error = kErrorSecurity); in HandlePresentPskdHash()
681 … VerifyOrExit(Get<ActiveDatasetManager>().Read(datasetInfo) == kErrorNone, error = kErrorSecurity); in HandlePresentPskcHash()
682 VerifyOrExit(datasetInfo.IsPresent<Dataset::kPskc>(), error = kErrorSecurity); in HandlePresentPskcHash()
696 VerifyOrExit(mVendorInfo->mInstallCode != nullptr, error = kErrorSecurity); in HandlePresentInstallCodeHash()
754 VerifyOrExit(aLength == Crypto::HmacSha256::Hash::kSize, error = kErrorSecurity); in VerifyHash()
755 VerifyOrExit(mRandomChallenge != 0, error = kErrorSecurity); in VerifyHash()
759 VerifyOrExit(aIncomingMessage.Compare(aOffset, hash), error = kErrorSecurity); in VerifyHash()
Djoiner.cpp389 TryNextJoinerRouter(kErrorSecurity); in HandleSecureCoapClientConnect()
/openthread-latest/src/core/crypto/
Dmbedtls.cpp142 error = kErrorSecurity; in MapError()
Dcrypto_platform.cpp651 VerifyOrExit(ret == 0, error = kErrorSecurity); in otPlatCryptoEcdsaVerify()
/openthread-latest/src/core/common/
Derror.hpp62 constexpr Error kErrorSecurity = OT_ERROR_SECURITY; variable
/openthread-latest/src/core/mac/
Dmac.cpp1570 Error error = kErrorSecurity; in ProcessReceiveSecurity()
1662 VerifyOrExit(((sequence & 0x7f) + 1) == keyid, error = kErrorSecurity); in ProcessReceiveSecurity()
1724 Error error = kErrorSecurity; in ProcessEnhAckSecurity()
2105 case kErrorSecurity: in HandleReceivedFrame()
Dmac_frame.cpp1521 Error error = kErrorSecurity; in ProcessReceiveAesCcm()
/openthread-latest/src/core/thread/
Dmle_router.cpp919 VerifyOrExit(response == router->GetChallenge(), error = kErrorSecurity); in HandleLinkAcceptVariant()
924 error = kErrorSecurity); in HandleLinkAcceptVariant()
932 ExitNow(error = kErrorSecurity); in HandleLinkAcceptVariant()
2473 VerifyOrExit(response == child->GetChallenge(), error = kErrorSecurity); in HandleChildUpdateResponseOnParent()
2476 VerifyOrExit(child->IsStateValid(), error = kErrorSecurity); in HandleChildUpdateResponseOnParent()
2602 VerifyOrExit(aRxInfo.IsNeighborStateValid(), error = kErrorSecurity); in HandleDataRequest()
2792 VerifyOrExit(Get<NetworkData::Leader>().IsJoiningAllowed(), error = kErrorSecurity); in HandleDiscoveryRequest()
Dmle.cpp2341 …yOrExit(aMessage.Compare(aMessage.GetLength() - kMleSecurityTagSize, tag), error = kErrorSecurity); in ProcessMessageSecurity()
3260 VerifyOrExit(aRxInfo.IsNeighborStateValid(), error = kErrorSecurity); in HandleChildIdResponse()
3518 VerifyOrExit(response == mParentRequestChallenge, error = kErrorSecurity); in HandleChildUpdateResponseOnChild()
3522 … VerifyOrExit((aRxInfo.mNeighbor == &mParent) && mParent.IsStateValid(), error = kErrorSecurity); in HandleChildUpdateResponseOnChild()
5419 VerifyOrExit(response == aChallenge, error = kErrorSecurity); in ReadAndMatchResponseTlvWith()
Dmesh_forwarder_ftd.cpp575 VerifyOrExit(aRxInfo.IsLinkSecurityEnabled(), error = kErrorSecurity); in HandleMesh()
/openthread-latest/src/core/net/
Dsrp_server.cpp856 … VerifyOrExit(StringMatch(name, GetDomain(), kStringCaseInsensitiveMatch), error = kErrorSecurity); in ProcessZoneSection()
957 VerifyOrExit(aHost.mKey == keyRecord.GetKey(), error = kErrorSecurity); in ProcessHostDescriptionInstruction()
1003 VerifyOrExit(Dns::Name::IsSubDomainOf(serviceName, GetDomain()), error = kErrorSecurity); in ProcessServiceDiscoveryInstructions()
1148 VerifyOrExit(Dns::Name::IsSubDomainOf(name, GetDomain()), error = kErrorSecurity); in ProcessServiceDescriptionInstructions()
Ddns_types.cpp88 error = kErrorSecurity; in ResponseCodeToError()
Dsrp_client.cpp1835 if ((error == kErrorDuplicated) || (error == kErrorSecurity)) in ProcessResponse()