Gilles Peskine f36d785188 Implement psa_generate_key_custom
Implement `psa_generate_key_custom()` and
`psa_key_derivation_output_key_custom()`. These functions replace
`psa_generate_key_ext()` and `psa_key_derivation_output_key_ext()`.
They have the same functionality, but a slightly different interface:
the `ext` functions use a structure with a flexible array member to pass
variable-length data, while the `custom` functions use a separate parameter.

Keep the `ext` functions for backward compatibility with Mbed TLS 3.6.0.
But make them a thin wrapper around the new `custom` functions.

Duplicate the test code and data. The test cases have to be duplicated
anyway, and the test functions are individually more readable this way.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-08-06 13:12:06 +02:00
..
2024-01-16 18:38:55 +00:00
2024-01-16 16:27:34 +00:00
2023-07-27 14:17:27 +01:00
2024-02-01 13:54:46 +00:00
2023-07-27 14:17:27 +01:00
2023-07-27 14:17:27 +01:00
2023-07-27 14:17:27 +01:00
2023-07-27 16:02:42 +01:00
2024-06-17 15:56:01 +01:00
2023-07-27 14:17:27 +01:00
2024-05-23 21:43:55 +02:00
2023-03-31 18:04:34 +01:00
2024-03-22 11:46:25 +00:00