mbedtls/include/psa
Gilles Peskine d40c1fbd50 Don't require a type and size when creating a key slot
Remove the type and bits arguments to psa_allocate_key() and
psa_create_key(). They can be useful if the implementation wants to
know exactly how much space to allocate for the slot, but many
implementations (including ours) don't care, and it's possible to work
around their lack by deferring size-dependent actions to the time when
the key material is created. They are a burden to applications and
make the API more complex, and the benefits aren't worth it.

Change the API and adapt the implementation, the units test and the
sample code accordingly.
2019-01-19 12:20:52 +01:00
..
crypto.h Don't require a type and size when creating a key slot 2019-01-19 12:20:52 +01: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: Add initializers for cipher operation objects 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