mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-27 06:35:37 +00:00
d40c1fbd50
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
crypto_examples.c | ||
key_ladder_demo.c | ||
key_ladder_demo.sh | ||
psa_constant_names.c |