ESP-IDF
ot::Crypto::Sha256
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Crypto::Sha256
ot::Crypto::Sha256 class
Implements SHA-256 computation.
Syntax
Show:
Summary
Declaration
Definition
from
message.hpp:75
class
Sha256
;
Implemented in
sha256.hpp:66
Fields
Field
Declared as
ot::Crypto::Sha256::mContext
otCryptoContext
ot::Crypto::Sha256::mContextStorage
OT_DEFINE_ALIGNED_VAR
(
,
kSha256ContextSize
,
uint64_t
Methods
Start()
Starts the SHA-256 computation.
Update()
Inputs bytes into the SHA-256 computation.
Update()
Inputs bytes into the SHA-256 computation.
Update()
Inputs bytes into the SHA-256 computation.
Finish()
Finalizes the hash computation.
Update
Examples
References
from
examples
Code
Location
Scope
Referrer
class
Sha256
sha256.hpp:66
class
Sha256
;
message.hpp:75
Sha256
::
Hash
::
kSize
,
MBEDTLS_MD_SHA256
,
MbedTls
::
CryptoSecurePrng
,
nullptr
)
;
crypto_platform.cpp:594
otPlatCryptoEcdsaSign()
ret
=
mbedtls_ecdsa_verify
(
&
ecdsa
.
MBEDTLS_PRIVATE
(
grp
)
,
aHash
->
m8
,
Sha256
::
Hash
::
kSize
,
&
ecdsa
.
MBEDTLS_PRIVATE
(
Q
)
,
crypto_platform.cpp:649
otPlatCryptoEcdsaVerify()
Error
Sign
(
const
Sha256
::
Hash
&
aHash
,
Signature
&
aSignature
)
const
ecdsa.hpp:193
ot::Crypto::Ecdsa::P256::KeyPair::Sign() const
Error
Verify
(
const
Sha256
::
Hash
&
aHash
,
const
Signature
&
aSignature
)
const
ecdsa.hpp:325
ot::Crypto::Ecdsa::P256::PublicKey::Verify() const
typedef
Sha256
::
Hash
Hash
;
hmac_sha256.hpp:69
Crypto
::
Sha256
sha256
;
meshcop.cpp:288
ot::MeshCoP::ComputeJoinerId()
Crypto
::
Sha256
::
Hash
hash
;
meshcop.cpp:289
ot::MeshCoP::ComputeJoinerId()
friend
class
Crypto
::
Sha256
;
message.hpp:267
Crypto
::
Sha256
sha256
;
routing_manager.cpp:3787
ot::BorderRouter::RoutingManager::TxRaInfo::CalculateHash()
typedef
Crypto
::
Sha256
::
Hash
Hash
;
routing_manager.hpp:1391
Crypto
::
Sha256
::
Hash
kek
;
secure_transport.cpp:955
ot::MeshCoP::SecureTransport::HandleMbedtlsExportKeys()
Crypto
::
Sha256
sha256
;
secure_transport.cpp:956
ot::MeshCoP::SecureTransport::HandleMbedtlsExportKeys()
Sha256
::
Sha256
(
void
)
sha256.cpp:43
ot::Crypto::Sha256::Sha256()
Sha256
::
~
Sha256
(
void
)
{
SuccessOrAssert
(
otPlatCryptoSha256Deinit
(
&
mContext
)
)
;
}
sha256.cpp:50
ot::Crypto::Sha256::~Sha256()
void
Sha256
::
Start
(
void
)
{
SuccessOrAssert
(
otPlatCryptoSha256Start
(
&
mContext
)
)
;
}
sha256.cpp:52
ot::Crypto::Sha256::Start()
void
Sha256
::
Update
(
const
void
*
aBuf
,
uint16_t
aBufLength
)
sha256.cpp:54
ot::Crypto::Sha256::Update()
void
Sha256
::
Update
(
const
Message
&
aMessage
,
uint16_t
aOffset
,
uint16_t
aLength
)
sha256.cpp:59
ot::Crypto::Sha256::Update()
void
Sha256
::
Finish
(
Hash
&
aHash
)
{
SuccessOrAssert
(
otPlatCryptoSha256Finish
(
&
mContext
,
aHash
.
m8
,
Hash
::
kSize
)
)
;
}
sha256.cpp:72
ot::Crypto::Sha256::Finish()
DefineCoreType
(
otCryptoSha256Hash
,
Crypto
::
Sha256
::
Hash
)
;
sha256.hpp:148
Crypto
::
Sha256
sha256
;
slaac_address.cpp:425
ot::Utils::Slaac::GenerateIid() const
Crypto
::
Sha256
::
Hash
hash
;
slaac_address.cpp:426
ot::Utils::Slaac::GenerateIid() const
Crypto
::
Sha256
sha256
;
srp_client.cpp:1680
ot::Srp::Client::AppendSignature()
Crypto
::
Sha256
::
Hash
hash
;
srp_client.cpp:1681
ot::Srp::Client::AppendSignature()
Crypto
::
Sha256
sha256
;
srp_server.cpp:1302
ot::Srp::Server::VerifySignature() const
Crypto
::
Sha256
::
Hash
hash
;
srp_server.cpp:1303
ot::Srp::Server::VerifySignature() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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