mbedtls/include/psa
Jaeden Amero 5a5dc77696 psa: Enable easier initialization of cipher operations
The struct psa_cipher_operation_s is built with a
mbedtls_cipher_context_t. The shape of mbedtls_cipher_context_t and an
initializer that works with Clang 5.0 and its
-Wmissing-field-initializers varies based on the configuration of the
library. Instead of making multiple initializers based on a maze of
ifdefs for all combinations of MBEDTLS_CIPHER_MODE_WITH_PADDING,
MBEDTLS_CMAC_C, and MBEDTLS_USE_PSA_CRYPTO, add a dummy variable to
psa_cipher_operation_s's union that encloses mbedtls_cipher_context_t.
This allows us to initialize the dummy with a Clang-approved initializer
and have it properly initialize the entire object.
2019-01-08 14:28:04 +00:00
..
crypto.h psa: Add initializers for MAC operation objects 2019-01-08 14:28:04 +00:00
crypto_accel_driver.h Split crypto_driver.h into one for each driver type 2018-12-21 18:17:10 +01:00
crypto_driver_common.h Split crypto_driver.h into one for each driver type 2018-12-21 18:17:10 +01:00
crypto_entropy_driver.h Split crypto_driver.h into one for each driver type 2018-12-21 18:17:10 +01:00
crypto_extra.h Fix indentation 2018-11-22 18:41:43 +02:00
crypto_platform.h Remove psa_key_slot_t from public headers 2018-12-11 16:48:13 +01:00
crypto_se_driver.h Split crypto_driver.h into one for each driver type 2018-12-21 18:17:10 +01:00
crypto_sizes.h Move remaining size macros from crypto.h to crypto_sizes.h 2018-12-21 17:53:12 +01:00
crypto_struct.h psa: Enable easier initialization of cipher operations 2019-01-08 14:28:04 +00:00
crypto_types.h Move integral types and associated macros to their own header 2018-12-21 17:53:09 +01:00
crypto_values.h Document macros that were referenced 2018-12-21 17:53:12 +01:00