ESP-IDF
otCryptoContext::mContextSize
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
otCryptoContext::mContextSize
otCryptoContext::mContextSize field
Syntax
Show:
Summary
Declaration
from
crypto.h:125
uint16_t
mContextSize
;
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
mContextSize
;
///< The length of the context in bytes.
crypto.h:125
mContext
.
mContextSize
=
sizeof
(
mContextStorage
)
;
aes_ecb.cpp:44
ot::Crypto::AesEcb
ot::Crypto::AesEcb::AesEcb()
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()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_aes_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:126
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
(
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
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_md_context_t
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:208
otPlatCryptoHmacSha256Update()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_md_context_t
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:226
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()
aContext
->
mContextSize
=
0
;
crypto_platform.cpp:345
otPlatCryptoHkdfDeinit()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_sha256_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:372
otPlatCryptoSha256Deinit()
aContext
->
mContextSize
=
0
;
crypto_platform.cpp:377
otPlatCryptoSha256Deinit()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_sha256_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:389
otPlatCryptoSha256Start()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_sha256_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:409
otPlatCryptoSha256Update()
VerifyOrExit
(
aContext
->
mContextSize
>=
sizeof
(
mbedtls_sha256_context
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:433
otPlatCryptoSha256Finish()
mContext
.
mContextSize
=
sizeof
(
mContextStorage
)
;
hkdf_sha256.cpp:48
ot::Crypto::HkdfSha256
ot::Crypto::HkdfSha256::HkdfSha256()
mContext
.
mContextSize
=
sizeof
(
mContextStorage
)
;
hmac_sha256.cpp:45
ot::Crypto::HmacSha256
ot::Crypto::HmacSha256::HmacSha256()
mContext
.
mContextSize
=
sizeof
(
mContextStorage
)
;
sha256.cpp:46
ot::Crypto::Sha256
ot::Crypto::Sha256::Sha256()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
otCryptoContext::mContextSize
is written by 6 functions and is read by 17 functions:
ot::Crypto::AesEcb::AesEcb()
otPlatCryptoHkdfDeinit()
otPlatCryptoSha256Deinit()
ot::Crypto::HkdfSha256::HkdfSha256()
ot::Crypto::HmacSha256::HmacSha256()
ot::Crypto::Sha256::Sha256()
All items filtered out
otCryptoContext::mContextSize
otPlatCryptoAesInit()
otPlatCryptoAesSetKey()
otPlatCryptoAesEncrypt()
otPlatCryptoAesFree()
otPlatCryptoHmacSha256Init()
otPlatCryptoHmacSha256Deinit()
otPlatCryptoHmacSha256Start()
otPlatCryptoHmacSha256Update()
otPlatCryptoHmacSha256Finish()
otPlatCryptoHkdfInit()
otPlatCryptoHkdfExpand()
otPlatCryptoHkdfExtract()
otPlatCryptoHkdfDeinit()
otPlatCryptoSha256Deinit()
otPlatCryptoSha256Start()
otPlatCryptoSha256Update()
otPlatCryptoSha256Finish()
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