-
Notifications
You must be signed in to change notification settings - Fork 96
Individual setters for persistent key attributes #109
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
Merged
Patater
merged 6 commits into
ARMmbed:psa-api-1.0-beta
from
gilles-peskine-arm:psa-key_attributes-set_persistent
May 16, 2019
Merged
Individual setters for persistent key attributes #109
Patater
merged 6 commits into
ARMmbed:psa-api-1.0-beta
from
gilles-peskine-arm:psa-key_attributes-set_persistent
May 16, 2019
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Patater
reviewed
May 15, 2019
Use individual setters for the id and lifetime fields of an attribute structure, like the other attributes. This commit updates the specification and adds an implementation of the new setters.
Remove all internal uses of psa_make_key_persistent.
psa_set_key_lifetime and psa_set_key_id aren't pure setters: they also set the other attribute in some conditions. Add dedicated tests for this behavior.
5f75e35
to
dd835cb
Compare
Patater
reviewed
May 16, 2019
Patater
approved these changes
May 16, 2019
CI failure is ABI job (known to fail until Mbed-TLS/mbedtls#2636 lands in the development branch) and |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api-spec
Issue or PR about the PSA specifications
enhancement
New feature or request
needs: ci
Needs a passing full CI run
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use individual setters for the id and lifetime fields of an attribute structure, like the other attributes.