Hi Sunil
I guess you are using the cryptographic functions directly rather than as part of the TLS exchange.
Are you using the PSA Crypto API? If yes, you can find an example here:
https://github.com/hannestschofenig/mbedtls/blob/crypto_api_examples/programs/psa/psa_sign_verify.c
If not, then you can find an example here:
Ciao
Hannes
From: Sunil Jain via mbed-tls <mbed-tls@lists.trustedfirmware.org>
Sent: Wednesday, March 9, 2022 11:29 AM
To: mbed-tls@lists.trustedfirmware.org; mbed-tls-request@lists.trustedfirmware.org
Subject: [mbed-tls] signature verification of ECC type
Hello,
we are using mbedTLS version 2.16.
We are facing a problem in verifying the signed message for ECDSA type of algorithms. Do you have any sample code for this as given for the RSA type algorithm in rsa_verify.c.
We have derived the R and S values and their length, but we are not sure which context to use to verify the signature.
Please help urgently.
--
Regards,
Sunil Jain