Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSA: redesign slot management to keep track of what's using a key #3292

Open
gilles-peskine-arm opened this issue Apr 29, 2020 · 1 comment
Labels
component-psa PSA keystore/dispatch layer (storage, drivers, …) enhancement size-m Estimated task size: medium (~1w)

Comments

@gilles-peskine-arm
Copy link
Contributor

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.

@laumor01 laumor01 added the size-m Estimated task size: medium (~1w) label Mar 23, 2021
@bensze01 bensze01 modified the milestones: September 2020 Sprint, PSA Crypto: Q4 Implement missing v1.0 spec functionality Jul 28, 2021
@bensze01 bensze01 removed this from the PSA Crypto: Q4 Implement missing v1.0 spec functionality milestone Aug 11, 2021
@gabor-mezei-arm gabor-mezei-arm self-assigned this Dec 6, 2021
@gabor-mezei-arm gabor-mezei-arm removed their assignment Dec 16, 2021
@gilles-peskine-arm gilles-peskine-arm added component-psa PSA keystore/dispatch layer (storage, drivers, …) and removed component-crypto Crypto primitives and low-level interfaces labels May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-psa PSA keystore/dispatch layer (storage, drivers, …) enhancement size-m Estimated task size: medium (~1w)
Projects
None yet
Development

No branches or pull requests

7 participants