Fix error handling for secure element keys in psa_start_key_creation
#8537
Labels
bug
component-psa
PSA keystore/dispatch layer (storage, drivers, …)
size-xs
Estimated task size: extra small (a few hours at most)
Summary
Currently, when creating a key in a secure element the return value of
psa_copy_key_material_into_slot
is ignored. A consequence is that keys in a dynamic secure element may be reported as successfully created even if an out-of-memory failure occurs.This can be fixed by handling the return value of this call.
The text was updated successfully, but these errors were encountered: