ot::Crypto::Ecdsa::P256::PublicKey::Verify() const method
Uses the `PublicKey` to verify the ECDSA signature of a hashed message.
Arguments
aHash
The SHA-256 hash value of a message to use for signature verification.
aSignature
The signature value to verify.
Return value
kErrorNone The signature was verified successfully. kErrorSecurity The signature is invalid. kErrorInvalidArgs The key or has is invalid. kErrorNoBufs Failed to allocate buffer for signature verification
![]()
error = aKey.Verify(hash, signature);
ot::Crypto::Ecdsa::P256::PublicKey::Verify() const is called by 1 function:
![]()
ot::Crypto::Ecdsa::P256::PublicKey::Verify() const