/openthread-latest/src/core/crypto/ |
D | sha256.hpp | 72 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);
|
D | hmac_sha256.hpp | 69 typedef Sha256::Hash Hash; typedef in ot::Crypto::HmacSha256 123 void Finish(Hash &aHash);
|
D | crypto_platform.cpp | 240 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 …]
|
D | ecdsa.hpp | 193 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()
|
D | sha256.cpp | 72 void Sha256::Finish(Hash &aHash) { SuccessOrAssert(otPlatCryptoSha256Finish(&mContext, aHash.m8, Ha… in Finish()
|
D | hmac_sha256.cpp | 59 void HmacSha256::Finish(Hash &aHash) in Finish() 61 SuccessOrAssert(otPlatCryptoHmacSha256Finish(&mContext, aHash.m8, Hash::kSize)); in Finish()
|
/openthread-latest/tests/unit/ |
D | test_hmac_sha256.cpp | 102 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()
|
D | test_ecdsa.cpp | 84 Sha256::Hash hash; in TestEcdsaVector() 142 Sha256::Hash hash; in TestEcdsaKeyGenerationSignAndVerify()
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_md.data | 131 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 …]
|
D | test_suite_psa_crypto_metadata.data | 1 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 …]
|
D | test_suite_psa_crypto_driver_wrappers.data | 618 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 …]
|
D | test_suite_psa_crypto_storage_format.function | 105 * Hash-and-sign algorithms where the asymmetric part doesn't use
|
D | test_suite_psa_crypto_metadata.function | 288 /* Hash length */
|
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/ |
D | psa-limitations.md | 215 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 …]
|
D | psa-legacy-bridges.md | 90 ### Hash gap analysis 213 ### Hash APIs
|
/openthread-latest/src/core/meshcop/ |
D | tcat_agent.cpp | 727 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()
|
D | tcat_agent.hpp | 368 …culateHash(uint64_t aChallenge, const char *aBuf, size_t aBufLen, Crypto::HmacSha256::Hash &aHash);
|
D | meshcop.cpp | 289 Crypto::Sha256::Hash hash; in ComputeJoinerId()
|
D | secure_transport.cpp | 915 Crypto::Sha256::Hash kek; in HandleMbedtlsExportKeys() 961 Crypto::Sha256::Hash kek; in HandleMbedtlsExportKeys()
|
/openthread-latest/src/core/border_router/ |
D | routing_manager.hpp | 1391 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/ |
D | mdns.hpp | 1435 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/ |
D | key_manager.hpp | 567 Crypto::HmacSha256::Hash mHash;
|
/openthread-latest/src/core/utils/ |
D | slaac_address.cpp | 426 Crypto::Sha256::Hash hash; in GenerateIid()
|
/openthread-latest/third_party/mbedtls/repo/programs/ |
D | README.md | 10 ## Hash (digest) examples
|
/openthread-latest/third_party/mbedtls/repo/docs/ |
D | psa-transition.md | 428 ### 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…
|