mbedtls/include/psa
Gilles Peskine e7a7013910 Remove initialization function for variable-length struct
Assigning the return value of a function that returns a struct with a
flexible array member does not fill the flexible array member, which leaves
a gap in the initialization that could be surprising to programmers. Also,
this is a borderline case in ABI design which could cause interoperability
problems. So remove this function.

This gets rid of an annoying note from GCC about ABI compatibility on
(at least) x86_64.
```
In file included from include/psa/crypto.h:4820,
                 from <stdin>:1:
include/psa/crypto_struct.h: In function ‘psa_key_generation_method_init’:
include/psa/crypto_struct.h:244:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4
  244 | {
      | ^
```

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-02-20 12:17:00 +01:00
..
build_info.h Header updates 2023-11-03 12:21:36 +00:00
crypto.h Fix copypasta 2024-02-20 11:42:18 +01:00
crypto_adjust_auto_enabled.h Header updates 2023-11-03 12:21:36 +00:00
crypto_adjust_config_key_pair_types.h Header updates 2023-11-03 12:21:36 +00:00
crypto_adjust_config_synonyms.h adjust_config_synonyms: make CCM and CCM* indipendent 2023-11-15 09:16:37 +01:00
crypto_builtin_composites.h crypto_builtin_composites: add missing guards for includes 2023-12-14 18:08:14 +01:00
crypto_builtin_key_derivation.h Header updates 2023-11-03 12:21:36 +00:00
crypto_builtin_primitives.h Header updates 2023-11-03 12:21:36 +00:00
crypto_compat.h Header updates 2023-11-03 12:21:36 +00:00
crypto_config.h crypto_config: define feature macros for DH keys 2024-01-17 11:47:44 +01:00
crypto_driver_common.h Header updates 2023-11-03 12:21:36 +00:00
crypto_driver_contexts_composites.h Header updates 2023-11-03 12:21:36 +00:00
crypto_driver_contexts_key_derivation.h Header updates 2023-11-03 12:21:36 +00:00
crypto_driver_contexts_primitives.h Header updates 2023-11-03 12:21:36 +00:00
crypto_extra.h Merge pull request #8764 from Ryan-Everett-arm/threadsafe-key-wiping 2024-02-12 09:37:59 +00:00
crypto_legacy.h Header updates 2023-11-03 12:21:36 +00:00
crypto_platform.h Add a client view of the multipart contexts 2024-01-22 11:39:36 +00:00
crypto_se_driver.h Header updates 2023-11-03 12:21:36 +00:00
crypto_sizes.h crypto_sizes: adjust PSA_VENDOR_FFDH_MAX_KEY_BITS based on the supported groups 2024-01-17 15:56:30 +01:00
crypto_struct.h Remove initialization function for variable-length struct 2024-02-20 12:17:00 +01:00
crypto_types.h Document new functions psa_generate_key_ext, psa_key_derivation_output_key_ext 2024-02-15 11:19:26 +01:00
crypto_values.h Merge remote-tracking branch 'restricted/development' into mbedtls-3.5.2rc 2024-01-24 09:49:15 +00:00