ESP-IDF
ot::kErrorFailed
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::kErrorFailed
ot::kErrorFailed variable
Syntax
Show:
Summary
Declaration
from
error.hpp:55
constexpr
Error
kErrorFailed
=
OT_ERROR_FAILED
;
Examples
References
from
examples
Code
Location
Scope
Referrer
constexpr
Error
kErrorFailed
=
OT_ERROR_FAILED
;
error.hpp:55
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_aes_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:94
otPlatCryptoAesInit()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_aes_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:110
otPlatCryptoAesSetKey()
error
=
kErrorFailed
)
;
crypto_platform.cpp:114
otPlatCryptoAesSetKey()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_aes_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:126
otPlatCryptoAesEncrypt()
VerifyOrExit
(
(
mbedtls_aes_crypt_ecb
(
context
,
MBEDTLS_AES_ENCRYPT
,
aInput
,
aOutput
)
==
0
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:129
otPlatCryptoAesEncrypt()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_aes_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:141
otPlatCryptoAesFree()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_md_context_t
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:160
otPlatCryptoHmacSha256Init()
VerifyOrExit
(
(
mbedtls_md_setup
(
context
,
mdInfo
,
1
)
==
0
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:165
otPlatCryptoHmacSha256Init()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_md_context_t
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:177
otPlatCryptoHmacSha256Deinit()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_md_context_t
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:193
otPlatCryptoHmacSha256Start()
VerifyOrExit
(
(
mbedtls_md_hmac_starts
(
context
,
key
.
GetBytes
(
)
,
key
.
GetLength
(
)
)
==
0
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:196
otPlatCryptoHmacSha256Start()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_md_context_t
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:208
otPlatCryptoHmacSha256Update()
error
=
kErrorFailed
)
;
crypto_platform.cpp:212
otPlatCryptoHmacSha256Update()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_md_context_t
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:226
otPlatCryptoHmacSha256Finish()
VerifyOrExit
(
(
mbedtls_md_hmac_finish
(
context
,
aBuf
)
==
0
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:229
otPlatCryptoHmacSha256Finish()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
HmacSha256
::
Hash
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:240
otPlatCryptoHkdfInit()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
HmacSha256
::
Hash
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:262
otPlatCryptoHkdfExpand()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
HmacSha256
::
Hash
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:320
otPlatCryptoHkdfExtract()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
HmacSha256
::
Hash
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:340
otPlatCryptoHkdfDeinit()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_sha256_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:372
otPlatCryptoSha256Deinit()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_sha256_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:389
otPlatCryptoSha256Start()
VerifyOrExit
(
(
mbedtls_sha256_starts
(
context
,
0
)
==
0
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:394
otPlatCryptoSha256Start()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_sha256_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:409
otPlatCryptoSha256Update()
error
=
kErrorFailed
)
;
crypto_platform.cpp:415
otPlatCryptoSha256Update()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_sha256_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:433
otPlatCryptoSha256Finish()
VerifyOrExit
(
(
mbedtls_sha256_finish
(
context
,
aHash
)
==
0
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:438
otPlatCryptoSha256Finish()
VerifyOrExit
(
mbedtls_pk_setup
(
&
pk
,
mbedtls_pk_info_from_type
(
MBEDTLS_PK_ECKEY
)
)
==
0
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:533
otPlatCryptoEcdsaGetPublicKey()
VerifyOrExit
(
mbedtls_pk_setup
(
&
pk
,
mbedtls_pk_info_from_type
(
MBEDTLS_PK_ECKEY
)
)
==
0
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:576
otPlatCryptoEcdsaSign()
Error
error
=
kErrorFailed
;
dns_client.cpp:1567
ot::Dns::Client
ot::Dns::Client::ReplaceWithIp4Query()
Error
error
=
kErrorFailed
;
dns_client.cpp:1681
ot::Dns::Client
ot::Dns::Client::ReplaceWithSeparateSrvTxtQueries()
Error
error
=
kErrorFailed
;
dns_types.cpp:48
ot::Dns::Header
ot::Dns::Header::ResponseCodeToError()
error
=
kErrorFailed
;
dns_types.cpp:64
ot::Dns::Header
ot::Dns::Header::ResponseCodeToError()
VerifyOrExit
(
len
<=
kExtHdrMaxLength
,
error
=
kErrorFailed
)
;
lowpan.cpp:456
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::CompressExtensionHeader()
error
=
kErrorFailed
;
mbedtls.cpp:147
ot::Crypto::MbedTls
ot::Crypto::MbedTls::MapError()
error
=
kErrorFailed
;
mbedtls.cpp:164
ot::Crypto::MbedTls
ot::Crypto::MbedTls::MapError()
Error
error
=
kErrorFailed
;
mesh_diag.cpp:266
ot::Utils::MeshDiag
ot::Utils::MeshDiag::ProcessMessage()
Error
error
=
kErrorFailed
;
mesh_forwarder_ftd.cpp:853
ot::MeshForwarder
ot::MeshForwarder::LogMeshFragmentHeader()
VerifyOrExit
(
aMessage
->
GetCode
(
)
==
Coap
::
kCodeChanged
,
aResult
=
kErrorFailed
)
;
network_diagnostic.cpp:947
ot::NetworkDiagnostic::Client
ot::NetworkDiagnostic::Client::HandleGetResponse()
Error
error
=
kErrorFailed
;
slaac_address.cpp:422
ot::Utils::Slaac
ot::Utils::Slaac::GenerateIid() const
VerifyOrExit
(
aMetadata
.
mDnsHeader
.
GetPrerequisiteRecordCount
(
)
==
0
,
error
=
kErrorFailed
)
;
srp_server.cpp:814
ot::Srp::Server
ot::Srp::Server::ProcessDnsUpdate()
VerifyOrExit
(
IsValidDeleteAllRecord
(
record
)
,
error
=
kErrorFailed
)
;
srp_server.cpp:916
ot::Srp::Server
ot::Srp::Server::ProcessHostDescriptionInstruction() const
VerifyOrExit
(
record
.
GetClass
(
)
==
aMetadata
.
mDnsZone
.
GetClass
(
)
,
error
=
kErrorFailed
)
;
srp_server.cpp:932
ot::Srp::Server
ot::Srp::Server::ProcessHostDescriptionInstruction() const
VerifyOrExit
(
record
.
GetClass
(
)
==
aMetadata
.
mDnsZone
.
GetClass
(
)
,
error
=
kErrorFailed
)
;
srp_server.cpp:949
ot::Srp::Server
ot::Srp::Server::ProcessHostDescriptionInstruction() const
VerifyOrExit
(
aHost
.
GetFullName
(
)
!=
nullptr
,
error
=
kErrorFailed
)
;
srp_server.cpp:972
ot::Srp::Server
ot::Srp::Server::ProcessHostDescriptionInstruction() const
VerifyOrExit
(
aHost
.
mParsedKey
,
error
=
kErrorFailed
)
;
srp_server.cpp:973
ot::Srp::Server
ot::Srp::Server::ProcessHostDescriptionInstruction() const
error
=
kErrorFailed
)
;
srp_server.cpp:1041
ot::Srp::Server
ot::Srp::Server::ProcessServiceDiscoveryInstructions() const
VerifyOrExit
(
!
service
->
HasSubTypeServiceName
(
serviceName
)
,
error
=
kErrorFailed
)
;
srp_server.cpp:1055
ot::Srp::Server
ot::Srp::Server::ProcessServiceDiscoveryInstructions() const
VerifyOrExit
(
service
->
mServiceName
.
IsNull
(
)
,
error
=
kErrorFailed
)
;
srp_server.cpp:1073
ot::Srp::Server
ot::Srp::Server::ProcessServiceDiscoveryInstructions() const
VerifyOrExit
(
IsValidDeleteAllRecord
(
record
)
,
error
=
kErrorFailed
)
;
srp_server.cpp:1122
ot::Srp::Server
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
VerifyOrExit
(
record
.
GetClass
(
)
==
aMetadata
.
mDnsZone
.
GetClass
(
)
,
error
=
kErrorFailed
)
;
srp_server.cpp:1141
ot::Srp::Server
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
VerifyOrExit
(
aHost
.
Matches
(
hostName
)
,
error
=
kErrorFailed
)
;
srp_server.cpp:1150
ot::Srp::Server
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
VerifyOrExit
(
service
!=
nullptr
,
error
=
kErrorFailed
)
;
srp_server.cpp:1153
ot::Srp::Server
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
VerifyOrExit
(
record
.
GetClass
(
)
==
aMetadata
.
mDnsZone
.
GetClass
(
)
,
error
=
kErrorFailed
)
;
srp_server.cpp:1165
ot::Srp::Server
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
VerifyOrExit
(
service
!=
nullptr
,
error
=
kErrorFailed
)
;
srp_server.cpp:1170
ot::Srp::Server
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
VerifyOrExit
(
aMetadata
.
mDnsHeader
.
GetAdditionalRecordCount
(
)
==
2
,
error
=
kErrorFailed
)
;
srp_server.cpp:1221
ot::Srp::Server
ot::Srp::Server::ProcessAdditionalSection() const
VerifyOrExit
(
aHost
->
mAddresses
.
GetLength
(
)
>
0
,
error
=
kErrorFailed
)
;
srp_server.cpp:1253
ot::Srp::Server
ot::Srp::Server::ProcessAdditionalSection() const
VerifyOrExit
(
sigRecord
.
GetAlgorithm
(
)
==
Dns
::
KeyRecord
::
kAlgorithmEcdsaP256Sha256
,
error
=
kErrorFailed
)
;
srp_server.cpp:1277
ot::Srp::Server
ot::Srp::Server::ProcessAdditionalSection() const
VerifyOrExit
(
sigRecord
.
GetTypeCovered
(
)
==
0
,
error
=
kErrorFailed
)
;
srp_server.cpp:1278
ot::Srp::Server
ot::Srp::Server::ProcessAdditionalSection() const
error
=
Matches
(
aFullName
)
?
kErrorNone
:
kErrorFailed
;
srp_server.cpp:2029
ot::Srp::Server::Host
ot::Srp::Server::Host::SetFullName()
VerifyOrExit
(
*
aParentRssi
!=
Radio
::
kInvalidRssi
,
error
=
kErrorFailed
)
;
thread_api.cpp:362
otThreadGetParentAverageRssi()
VerifyOrExit
(
*
aLastRssi
!=
Radio
::
kInvalidRssi
,
error
=
kErrorFailed
)
;
thread_api.cpp:376
otThreadGetParentLastRssi()
VerifyOrExit
(
code
==
0
,
error
=
kErrorFailed
)
;
verhoeff_checksum.cpp:111
ot::Utils::VerhoeffChecksum
ot::Utils::VerhoeffChecksum::Validate()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ot::kErrorFailed
is read by 37 functions:
All items filtered out
ot::kErrorFailed
otThreadGetParentAverageRssi()
otThreadGetParentLastRssi()
otPlatCryptoAesInit()
otPlatCryptoAesSetKey()
otPlatCryptoAesEncrypt()
otPlatCryptoAesFree()
otPlatCryptoHmacSha256Init()
otPlatCryptoHmacSha256Deinit()
otPlatCryptoHmacSha256Start()
otPlatCryptoHmacSha256Update()
otPlatCryptoHmacSha256Finish()
otPlatCryptoHkdfInit()
otPlatCryptoHkdfExpand()
otPlatCryptoHkdfExtract()
otPlatCryptoHkdfDeinit()
otPlatCryptoSha256Deinit()
otPlatCryptoSha256Start()
otPlatCryptoSha256Update()
otPlatCryptoSha256Finish()
otPlatCryptoEcdsaGetPublicKey()
otPlatCryptoEcdsaSign()
ot::Crypto::MbedTls::MapError()
ot::Lowpan::Lowpan::CompressExtensionHeader()
ot::MeshForwarder::LogMeshFragmentHeader()
ot::NetworkDiagnostic::Client::HandleGetResponse()
ot::Utils::MeshDiag::ProcessMessage()
ot::Utils::Slaac::GenerateIid() const
ot::Utils::VerhoeffChecksum::Validate()
ot::Dns::Client::ReplaceWithIp4Query()
ot::Dns::Client::ReplaceWithSeparateSrvTxtQueries()
ot::Dns::Header::ResponseCodeToError()
ot::Srp::Server::ProcessDnsUpdate()
ot::Srp::Server::ProcessHostDescriptionInstruction() const
ot::Srp::Server::ProcessServiceDiscoveryInstructions() const
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
ot::Srp::Server::ProcessAdditionalSection() const
ot::Srp::Server::Host::SetFullName()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out