1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

New function mbedtls_pk_copy_public_from_psa

Document and implement mbedtls_pk_copy_public_from_psa() to export the
public key of a PSA key into PK.

Unit-test it alongside mbedtls_pk_copy_from_psa().

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2024-03-06 13:39:01 +01:00
parent d7e7f48323
commit bf69f2e682
4 changed files with 157 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
Features
* The new function mbedtls_pk_copy_from_psa() provides a way to set up a PK
context with the same content as a PSA key.
* The new functions mbedtls_pk_copy_from_psa() and
mbedtls_pk_copy_public_from_psa() provide ways to set up a PK context
with the same content as a PSA key.