Gilles Peskine | b0cc2ad | 2024-06-06 21:38:11 +0200 | [diff] [blame^] | 1 | API changes |
| 2 | * The experimental functions psa_generate_key_ext() and |
| 3 | psa_key_derivation_output_key_ext() are no longer declared when compiling |
| 4 | in C++. This resolves a build failure under C++ compilers that do not |
| 5 | support flexible array members (a C99 feature not adopted by C++). |
| 6 | Fixes #9020. |
| 7 | |
| 8 | New deprecations |
| 9 | * The experimental functions psa_generate_key_ext() and |
| 10 | psa_key_derivation_output_key_ext() are deprecated in favor of |
| 11 | psa_generate_key_custom() and psa_key_derivation_output_key_custom(). |
| 12 | They have almost exactly the same interface, but the variable-length |
| 13 | data is passed in a separate parameter instead of a flexible array |
| 14 | member. |