mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 18:18:24 +00:00
3077f2f9c6
Remove the experimental functions psa_generate_key_ext() and psa_key_derivation_output_key_ext(), which require a flexible array member and therefore break C++ code that includes Mbed TLS headers. They have been replaced by psa_generate_key_custom() and psa_key_derivation_output_key_custom(). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
10 lines
520 B
Plaintext
10 lines
520 B
Plaintext
API changes
|
|
* The experimental functions psa_generate_key_ext() and
|
|
psa_key_derivation_output_key_ext() have been replaced by
|
|
psa_generate_key_custom() and psa_key_derivation_output_key_custom().
|
|
They have almost exactly the same interface, but the variable-length
|
|
data is passed in a separate parameter instead of a flexible array
|
|
member. This resolves a build failure under C++ compilers that do not
|
|
support flexible array members (a C99 feature not adopted by C++).
|
|
Fixes #9020.
|