Home
last modified time | relevance | path

Searched refs:aSignature (Results 1 – 5 of 5) sorted by relevance

/openthread-latest/src/core/crypto/
Decdsa.hpp208 Error Sign(const Sha256::Hash &aHash, Signature &aSignature) const in Sign()
210 return otPlatCryptoEcdsaSign(this, &aHash, &aSignature); in Sign()
287 Error Sign(const Sha256::Hash &aHash, Signature &aSignature) const in Sign()
289 return otPlatCryptoEcdsaSignUsingKeyRef(mKeyRef, &aHash, &aSignature); in Sign()
350 Error Verify(const Sha256::Hash &aHash, const Signature &aSignature) const in Verify()
352 return otPlatCryptoEcdsaVerify(this, &aHash, &aSignature); in Verify()
Dcrypto_platform.cpp561 otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaSign() argument
603 ret = mbedtls_mpi_write_binary(&r, aSignature->m8, Ecdsa::P256::kMpiSize); in otPlatCryptoEcdsaSign()
606 … ret = mbedtls_mpi_write_binary(&s, aSignature->m8 + Ecdsa::P256::kMpiSize, Ecdsa::P256::kMpiSize); in otPlatCryptoEcdsaSign()
620 const otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaVerify() argument
643 ret = mbedtls_mpi_read_binary(&r, aSignature->m8, Ecdsa::P256::kMpiSize); in otPlatCryptoEcdsaVerify()
646 … ret = mbedtls_mpi_read_binary(&s, aSignature->m8 + Ecdsa::P256::kMpiSize, Ecdsa::P256::kMpiSize); in otPlatCryptoEcdsaVerify()
776 otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaSign() argument
780 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaSign()
787 const otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaVerify() argument
792 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaVerify()
/openthread-latest/examples/platforms/simulation/
Dcrypto.c101 otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaSignUsingKeyRef() argument
105 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaSignUsingKeyRef()
112 const otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaVerifyUsingKeyRef() argument
116 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaVerifyUsingKeyRef()
/openthread-latest/include/openthread/platform/
Dcrypto.h634 otPlatCryptoEcdsaSignature *aSignature);
654 const otPlatCryptoEcdsaSignature *aSignature);
676 otPlatCryptoEcdsaSignature *aSignature);
733 const otPlatCryptoEcdsaSignature *aSignature);
/openthread-latest/tests/unit/
Dtest_platform.cpp553 otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaSignUsingKeyRef() argument
557 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaSignUsingKeyRef()
564 const otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaVerifyUsingKeyRef() argument
568 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaVerifyUsingKeyRef()