Gilles Peskine d5b04a0c63 Add a usage parameter to mbedtls_pk_get_psa_attributes
Let the user specify whether to use the key as a sign/verify key, an
encrypt/decrypt key or a key agreement key. Also let the user indicate if
they just want the public part when the input is a key pair.

Based on a discussion in
https://github.com/Mbed-TLS/mbedtls/pull/8682#discussion_r1444936480

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-01-17 14:31:57 +01:00
..
2023-03-16 09:46:51 +01:00
2023-03-29 10:33:03 +02:00
2023-03-24 10:44:59 +01:00
2023-11-02 19:47:20 +00:00
2022-07-04 12:38:43 +02:00