mbedtls/programs/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
..
CMakeLists.txt psa: programs: Add cipher example 2018-09-12 16:50:07 +03:00
crypto_examples.c Don't require a type and size when creating a key slot 2019-01-19 12:20:52 +01:00
key_ladder_demo.c Don't require a type and size when creating a key slot 2019-01-19 12:20:52 +01:00
key_ladder_demo.sh New sample program key_ladder_demo 2018-09-12 16:50:07 +03:00
psa_constant_names.c Add pre Visual Studio 2015 support to psa_constant_names 2018-10-23 12:02:37 +01:00