Home
last modified time | relevance | path

Searched hist:"255 ce97d609a93ab5528a653735abc46c2627e8f" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/drivers/auth/mbedtls/
H A Dmbedtls_psa_crypto.c255ce97d609a93ab5528a653735abc46c2627e8f Wed Sep 27 10:37:44 UTC 2023 Manish V Badarkhe <Manish.Badarkhe@arm.com> feat(mbedtls-psa): mbedTLS PSA Crypto with ECDSA

The ECDSA algorithm signature verification in the PSA differs
from the RSA algorithm in its handling of data formats. In the
case of RSA, an encoded ASN1.0 buffer is passed to the PSA API,
which then decodes the buffer. However, for ECDSA, the PSA API
expects a raw format.

To accomodate this requirement, introduce several static APIs
that allows to retrieve -

1. ECDSA public key data pointer along with its size, and also,
the ECC family in PSA format from the public key.
2. R and S pair of the ECDSA signature along with its size

Change-Id: Icc7d5659aeb3d5c1ab63c3a12c001e68b11a3a86
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>