/openthread-3.6.0/src/core/crypto/ |
D | ecdsa.hpp | 208 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()
|
D | sha256.cpp | 72 void Sha256::Finish(Hash &aHash) { SuccessOrAssert(otPlatCryptoSha256Finish(&mContext, aHash.m8, Ha… in Finish() argument
|
D | hmac_sha256.cpp | 59 void HmacSha256::Finish(Hash &aHash) in Finish() argument 61 SuccessOrAssert(otPlatCryptoHmacSha256Finish(&mContext, aHash.m8, Hash::kSize)); in Finish()
|
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.hpp | 133 void Finish(Hash &aHash);
|
D | sha256.hpp | 146 void Finish(Hash &aHash);
|
/openthread-3.6.0/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-3.6.0/include/openthread/platform/ |
D | crypto.h | 564 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.6.0/src/core/api/ |
D | crypto_api.cpp | 50 …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.6.0/include/openthread/ |
D | crypto.h | 73 …a256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash);
|
/openthread-3.6.0/tests/unit/ |
D | test_platform.cpp | 527 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaSignUsingKeyRef() argument 531 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaSignUsingKeyRef() 538 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaVerifyUsingKeyRef() argument 542 OT_UNUSED_VARIABLE(aHash); in otPlatCryptoEcdsaVerifyUsingKeyRef()
|