Home
last modified time | relevance | path

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

/openthread-3.5.0/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()
688 otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaSign() argument
692 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaSign()
699 const otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaVerify() argument
704 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaVerify()
/openthread-3.5.0/include/openthread/platform/
Dcrypto.h634 otPlatCryptoEcdsaSignature *aSignature);
654 const otPlatCryptoEcdsaSignature *aSignature);
676 otPlatCryptoEcdsaSignature *aSignature);
733 const otPlatCryptoEcdsaSignature *aSignature);
/openthread-3.5.0/tests/unit/
Dtest_platform.cpp496 otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaSignUsingKeyRef() argument
500 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaSignUsingKeyRef()
507 const otPlatCryptoEcdsaSignature *aSignature) in otPlatCryptoEcdsaVerifyUsingKeyRef() argument
511 OT_UNUSED_VARIABLE(aSignature); in otPlatCryptoEcdsaVerifyUsingKeyRef()