Home
last modified time | relevance | path

Searched refs:aHash (Results 1 – 10 of 10) sorted by relevance

/openthread-3.5.0/src/core/crypto/
Decdsa.hpp208 Error Sign(const Sha256::Hash &aHash, Signature &aSignature) const in Sign() argument
210 return otPlatCryptoEcdsaSign(this, &aHash, &aSignature); in Sign()
287 Error Sign(const Sha256::Hash &aHash, Signature &aSignature) const in Sign() argument
289 return otPlatCryptoEcdsaSignUsingKeyRef(mKeyRef, &aHash, &aSignature); in Sign()
350 Error Verify(const Sha256::Hash &aHash, const Signature &aSignature) const in Verify() argument
352 return otPlatCryptoEcdsaVerify(this, &aHash, &aSignature); in Verify()
Dsha256.cpp72 void Sha256::Finish(Hash &aHash) { SuccessOrAssert(otPlatCryptoSha256Finish(&mContext, aHash.m8, Ha… in Finish() argument
Dhmac_sha256.cpp59 void HmacSha256::Finish(Hash &aHash) in Finish() argument
61 SuccessOrAssert(otPlatCryptoHmacSha256Finish(&mContext, aHash.m8, Hash::kSize)); in Finish()
Dcrypto_platform.cpp425 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()
687 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaSign() argument
691 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaSign()
[all …]
Dhmac_sha256.hpp133 void Finish(Hash &aHash);
Dsha256.hpp146 void Finish(Hash &aHash);
/openthread-3.5.0/include/openthread/platform/
Dcrypto.h564 otError otPlatCryptoSha256Finish(otCryptoContext *aContext, uint8_t *aHash, uint16_t aHashSize);
633 const otPlatCryptoSha256Hash *aHash,
653 const otPlatCryptoSha256Hash *aHash,
675 const otPlatCryptoSha256Hash *aHash,
732 const otPlatCryptoSha256Hash *aHash,
/openthread-3.5.0/src/core/api/
Dcrypto_api.cpp50 …ha256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash) in otCryptoHmacSha256() argument
58 hmac.Finish(AsCoreType(aHash)); in otCryptoHmacSha256()
/openthread-3.5.0/include/openthread/
Dcrypto.h75 …a256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash);
/openthread-3.5.0/tests/unit/
Dtest_platform.cpp495 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaSignUsingKeyRef() argument
499 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaSignUsingKeyRef()
506 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaVerifyUsingKeyRef() argument
510 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaVerifyUsingKeyRef()