/openthread-latest/src/core/crypto/ |
D | ecdsa.hpp | 193 Error Sign(const Sha256::Hash &aHash, Signature &aSignature) const in Sign() argument 195 return otPlatCryptoEcdsaSign(this, &aHash, &aSignature); in Sign() 267 Error Sign(const Sha256::Hash &aHash, Signature &aSignature) const in Sign() argument 269 return otPlatCryptoEcdsaSignUsingKeyRef(mKeyRef, &aHash, &aSignature); in Sign() 325 Error Verify(const Sha256::Hash &aHash, const Signature &aSignature) const in Verify() argument 327 return otPlatCryptoEcdsaVerify(this, &aHash, &aSignature); in Verify()
|
D | sha256.cpp | 72 void Sha256::Finish(Hash &aHash) { SuccessOrAssert(otPlatCryptoSha256Finish(&mContext, aHash.m8, Ha… in Finish() argument
|
D | crypto_platform.cpp | 425 OT_TOOL_WEAK otError otPlatCryptoSha256Finish(otCryptoContext *aContext, uint8_t *aHash, uint16_t a… in otPlatCryptoSha256Finish() argument 438 VerifyOrExit((mbedtls_sha256_finish(context, aHash) == 0), error = kErrorFailed); in otPlatCryptoSha256Finish() 440 VerifyOrExit((mbedtls_sha256_finish_ret(context, aHash) == 0), error = kErrorFailed); in otPlatCryptoSha256Finish() 560 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaSign() argument 593 …edtls_ecdsa_sign_det_ext(&ecdsa.MBEDTLS_PRIVATE(grp), &r, &s, &ecdsa.MBEDTLS_PRIVATE(d), aHash->m8, in otPlatCryptoEcdsaSign() 596 …= mbedtls_ecdsa_sign_det(&ecdsa.MBEDTLS_PRIVATE(grp), &r, &s, &ecdsa.MBEDTLS_PRIVATE(d), aHash->m8, in otPlatCryptoEcdsaSign() 619 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaVerify() argument 649 …ret = mbedtls_ecdsa_verify(&ecdsa.MBEDTLS_PRIVATE(grp), aHash->m8, Sha256::Hash::kSize, &ecdsa.MBE… in otPlatCryptoEcdsaVerify() 775 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaSign() argument 779 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaSign() [all …]
|
D | hmac_sha256.cpp | 59 void HmacSha256::Finish(Hash &aHash) in Finish() argument 61 SuccessOrAssert(otPlatCryptoHmacSha256Finish(&mContext, aHash.m8, Hash::kSize)); in Finish()
|
D | hmac_sha256.hpp | 123 void Finish(Hash &aHash);
|
D | sha256.hpp | 135 void Finish(Hash &aHash);
|
/openthread-latest/examples/platforms/simulation/ |
D | crypto.c | 100 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaSignUsingKeyRef() argument 104 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaSignUsingKeyRef() 111 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaVerifyUsingKeyRef() argument 115 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaVerifyUsingKeyRef()
|
/openthread-latest/include/openthread/platform/ |
D | crypto.h | 524 otError otPlatCryptoSha256Finish(otCryptoContext *aContext, uint8_t *aHash, uint16_t aHashSize); 587 const otPlatCryptoSha256Hash *aHash, 606 const otPlatCryptoSha256Hash *aHash, 627 const otPlatCryptoSha256Hash *aHash, 681 const otPlatCryptoSha256Hash *aHash,
|
/openthread-latest/src/core/api/ |
D | crypto_api.cpp | 44 …ha256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash) in otCryptoHmacSha256() argument 52 hmac.Finish(AsCoreType(aHash)); in otCryptoHmacSha256()
|
/openthread-latest/include/openthread/ |
D | crypto.h | 70 …a256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash);
|
/openthread-latest/tests/unit/ |
D | test_platform.cpp | 554 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaSignUsingKeyRef() argument 558 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaSignUsingKeyRef() 565 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaVerifyUsingKeyRef() argument 569 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaVerifyUsingKeyRef()
|
/openthread-latest/src/core/meshcop/ |
D | tcat_agent.hpp | 368 …culateHash(uint64_t aChallenge, const char *aBuf, size_t aBufLen, Crypto::HmacSha256::Hash &aHash);
|
D | tcat_agent.cpp | 765 …lculateHash(uint64_t aChallenge, const char *aBuf, size_t aBufLen, Crypto::HmacSha256::Hash &aHash) in CalculateHash() argument 776 hmac.Finish(aHash); in CalculateHash()
|
/openthread-latest/src/core/net/ |
D | mdns.hpp | 1439 bool Matches(const Hash &aHash) const { return aHash == mHash; } in Matches() 1447 static void CalculateHash(const Message &aMessage, Hash &aHash);
|
D | mdns.cpp | 4404 void Core::TxMessageHistory::CalculateHash(const Message &aMessage, Hash &aHash) in CalculateHash() argument 4410 sha256.Finish(aHash); in CalculateHash()
|
/openthread-latest/src/core/border_router/ |
D | routing_manager.hpp | 1404 static void CalculateHash(const RouterAdvert::RxMessage &aRaMessage, Hash &aHash);
|
D | routing_manager.cpp | 3784 void RoutingManager::TxRaInfo::CalculateHash(const RouterAdvert::RxMessage &aRaMessage, Hash &aHash) in CalculateHash() argument 3795 sha256.Finish(aHash); in CalculateHash()
|