PSA: redesign slot management to keep track of what's using a key #3292
Labels
component-psa
PSA keystore/dispatch layer (storage, drivers, …)
enhancement
size-m
Estimated task size: medium (~1w)
The PSA slot management code in Mbed TLS doesn't keep track of what a key may currently be used for: a volatile handle, an open persistent handle, an operation. Redesign it so that it's possible, given a key slot index, to know what the slot is currently used for.
The goal of this task is to have a design. Code is optional. The design must be suitable to:
A possible solution is a reference count in the slot.
The text was updated successfully, but these errors were encountered: