mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 07:25:39 +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. |
||
---|---|---|
.. | ||
crypto.h | ||
crypto_accel_driver.h | ||
crypto_driver_common.h | ||
crypto_entropy_driver.h | ||
crypto_extra.h | ||
crypto_platform.h | ||
crypto_se_driver.h | ||
crypto_sizes.h | ||
crypto_struct.h | ||
crypto_types.h | ||
crypto_values.h |