Home
last modified time | relevance | path

Searched refs:Hash (Results 1 – 25 of 33) sorted by relevance

12

/openthread-latest/src/core/crypto/
Dsha256.hpp72 class Hash : public otCryptoSha256Hash, public Clearable<Hash>, public Equatable<Hash> class in ot::Crypto::Sha256
135 void Finish(Hash &aHash);
148 DefineCoreType(otCryptoSha256Hash, Crypto::Sha256::Hash);
Dhmac_sha256.hpp69 typedef Sha256::Hash Hash; typedef in ot::Crypto::HmacSha256
123 void Finish(Hash &aHash);
Dcrypto_platform.cpp240 VerifyOrExit(aContext->mContextSize >= sizeof(HmacSha256::Hash), error = kErrorFailed); in otPlatCryptoHkdfInit()
242 new (aContext->mContext) HmacSha256::Hash(); in otPlatCryptoHkdfInit()
256 HmacSha256::Hash hash; in otPlatCryptoHkdfExpand()
259 HmacSha256::Hash *prk; in otPlatCryptoHkdfExpand()
262 VerifyOrExit(aContext->mContextSize >= sizeof(HmacSha256::Hash), error = kErrorFailed); in otPlatCryptoHkdfExpand()
264 prk = static_cast<HmacSha256::Hash *>(aContext->mContext); in otPlatCryptoHkdfExpand()
283 cryptoKey.Set(prk->GetBytes(), sizeof(HmacSha256::Hash)); in otPlatCryptoHkdfExpand()
316 HmacSha256::Hash *prk; in otPlatCryptoHkdfExtract()
320 VerifyOrExit(aContext->mContextSize >= sizeof(HmacSha256::Hash), error = kErrorFailed); in otPlatCryptoHkdfExtract()
322 prk = static_cast<HmacSha256::Hash *>(aContext->mContext); in otPlatCryptoHkdfExtract()
[all …]
Decdsa.hpp193 Error Sign(const Sha256::Hash &aHash, Signature &aSignature) const in Sign()
267 Error Sign(const Sha256::Hash &aHash, Signature &aSignature) const in Sign()
325 Error Verify(const Sha256::Hash &aHash, const Signature &aSignature) const in Verify()
Dsha256.cpp72 void Sha256::Finish(Hash &aHash) { SuccessOrAssert(otPlatCryptoSha256Finish(&mContext, aHash.m8, Ha… in Finish()
Dhmac_sha256.cpp59 void HmacSha256::Finish(Hash &aHash) in Finish()
61 SuccessOrAssert(otPlatCryptoHmacSha256Finish(&mContext, aHash.m8, Hash::kSize)); in Finish()
/openthread-latest/tests/unit/
Dtest_hmac_sha256.cpp102 Crypto::Sha256::Hash hash; in TestSha256()
108 VerifyOrQuit(hash == static_cast<const Crypto::HmacSha256::Hash &>(testCase.mHash)); in TestSha256()
128 Crypto::Sha256::Hash hash; in TestSha256()
134 VerifyOrQuit(hash == static_cast<const Crypto::HmacSha256::Hash &>(testCase.mHash)); in TestSha256()
245 Crypto::HmacSha256::Hash hash; in TestHmacSha256()
251 VerifyOrQuit(hash == static_cast<const Crypto::HmacSha256::Hash &>(testCase.mHash)); in TestHmacSha256()
271 Crypto::HmacSha256::Hash hash; in TestHmacSha256()
277 VerifyOrQuit(hash == static_cast<const Crypto::HmacSha256::Hash &>(testCase.mHash)); in TestHmacSha256()
Dtest_ecdsa.cpp84 Sha256::Hash hash; in TestEcdsaVector()
142 Sha256::Hash hash; in TestEcdsaKeyGenerationSignAndVerify()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_md.data131 generic HMAC-MD5 Hash File OpenSSL test #1
135 generic HMAC-MD5 Hash File OpenSSL test #2
139 generic HMAC-MD5 Hash File OpenSSL test #3
279 generic multi step HMAC-MD5 Hash File OpenSSL test #1
283 generic multi step HMAC-MD5 Hash File OpenSSL test #2
287 generic multi step HMAC-MD5 Hash File OpenSSL test #3
347 generic MD5 Hash file #1
351 generic MD5 Hash file #2
355 generic MD5 Hash file #3
359 generic MD5 Hash file #4
[all …]
Dtest_suite_psa_crypto_metadata.data1 Hash: MD5
5 Hash: RIPEMD160
9 Hash: SHA-1
13 Hash: SHA-2 SHA-224
17 Hash: SHA-2 SHA-256
21 Hash: SHA-2 SHA-384
25 Hash: SHA-2 SHA-512
29 Hash: SHA-3 SHA3-224
33 Hash: SHA-3 SHA3-256
37 Hash: SHA-3 SHA3-384
[all …]
Dtest_suite_psa_crypto_driver_wrappers.data618 Hash compute: SHA-256, computed by the driver
622 Hash compute: SHA-256, fallback
626 Hash compute: SHA-256, no fallback
630 Hash compute: SHA-256, INSUFFICIENT_MEMORY
633 Hash multi-part setup: SHA-256, computed by the driver
637 Hash multi-part setup: SHA-256, fallback
641 Hash multi-part setup: SHA-256, no fallback
645 Hash multi-part setup: SHA-256, INSUFFICIENT_MEMORY
648 Hash multi-part update: SHA-256, update successful
652 Hash multi-part update: SHA-256, update failure
[all …]
Dtest_suite_psa_crypto_storage_format.function105 * Hash-and-sign algorithms where the asymmetric part doesn't use
Dtest_suite_psa_crypto_metadata.function288 /* Hash length */
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dpsa-limitations.md215 Hash Algorithm: sha256
219 Hash Algorithm: sha256
223 Hash Algorithm: sha1 (default)
227 Hash Algorithm: sha1 (default)
231 Hash Algorithm: sha224
235 Hash Algorithm: sha256
239 Hash Algorithm: sha384
243 Hash Algorithm: sha512
247 Hash Algorithm: sha1 (default)
251 Hash Algorithm: sha1 (default)
[all …]
Dpsa-legacy-bridges.md90 ### Hash gap analysis
213 ### Hash APIs
/openthread-latest/src/core/meshcop/
Dtcat_agent.cpp727 Crypto::HmacSha256::Hash hash; in HandleRequestPskdHash()
738 Crypto::HmacSha256::Hash::kSize)); in HandleRequestPskdHash()
752 Crypto::HmacSha256::Hash hash; in VerifyHash()
754 VerifyOrExit(aLength == Crypto::HmacSha256::Hash::kSize, error = kErrorSecurity); in VerifyHash()
765 …lculateHash(uint64_t aChallenge, const char *aBuf, size_t aBufLen, Crypto::HmacSha256::Hash &aHash) in CalculateHash()
Dtcat_agent.hpp368 …culateHash(uint64_t aChallenge, const char *aBuf, size_t aBufLen, Crypto::HmacSha256::Hash &aHash);
Dmeshcop.cpp289 Crypto::Sha256::Hash hash; in ComputeJoinerId()
Dsecure_transport.cpp915 Crypto::Sha256::Hash kek; in HandleMbedtlsExportKeys()
961 Crypto::Sha256::Hash kek; in HandleMbedtlsExportKeys()
/openthread-latest/src/core/border_router/
Drouting_manager.hpp1391 typedef Crypto::Sha256::Hash Hash; typedef
1404 static void CalculateHash(const RouterAdvert::RxMessage &aRaMessage, Hash &aHash);
1408 Hash mHashes[kNumHashEntries];
/openthread-latest/src/core/net/
Dmdns.hpp1435 typedef Crypto::Sha256::Hash Hash; typedef in ot::Dns::Multicast::Core::TxMessageHistory
1439 bool Matches(const Hash &aHash) const { return aHash == mHash; } in Matches()
1443 Hash mHash;
1447 static void CalculateHash(const Message &aMessage, Hash &aHash);
/openthread-latest/src/core/thread/
Dkey_manager.hpp567 Crypto::HmacSha256::Hash mHash;
/openthread-latest/src/core/utils/
Dslaac_address.cpp426 Crypto::Sha256::Hash hash; in GenerateIid()
/openthread-latest/third_party/mbedtls/repo/programs/
DREADME.md10 ## Hash (digest) examples
/openthread-latest/third_party/mbedtls/repo/docs/
Dpsa-transition.md428 ### Hash mechanism selection
454 …0e34c28261f)`(hash)` where `hash` is the underlying hash algorithm (see “[Hash mechanism selection…
463 ### Hash and MAC mechanism availability
485 ### Hash algorithm metadata
502 ### Hash calculation
614 …G_PBKDF2_HMAC(hash)` where `hash` is the underlying hash algorithm (see “[Hash mechanism selection…
952 Most signature algorithms involve a hash algorithm. See “[Hash mechanism selection](#hash-mechanism…
1042 …a9857344c76) where `hash` is a hash algorithm value (`PSA_ALG_xxx`, see “[Hash mechanism selection…

12