PK: use PSA to complete public key when USE_PSA
is enabled.
#7388
Labels
component-crypto
Crypto primitives and low-level interfaces
enhancement
size-s
Estimated task size: small (~2d)
Context: see #6839; this is a step towards ECPa.PK.
Currently,
pk_parse_key_sec1_der()
will callmbedtls_ecp_mul()
in some circumstances (public key not included, or not in a format we can read, namely compressed with some curves). This is a dependency on ECP arithmetic, which we're trying to avoid.Instead, when
MBEDTLS_USE_PSA_CRYPTO
is enabled, we can use an approach based onpsa_import()
+psa_export_public()
. Let's do that.Prototype: #7357
The text was updated successfully, but these errors were encountered: