Skip to content

Improve how generate_psa_constants handles compatibility aliases #115

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

Conversation

gilles-peskine-arm
Copy link
Collaborator

Improve how generate_psa_constants handles compatibility aliases. Declare a missing alias PSA_ERROR_TAMPERING_DETECTED.

Targeting the API branch because that's where the renamings have been happening.

@gilles-peskine-arm gilles-peskine-arm added enhancement New feature or request api-spec Issue or PR about the PSA specifications labels May 17, 2019
@Patater
Copy link
Contributor

Patater commented Sep 4, 2019

@gilles-peskine-arm Could you please rebase and retarget the development branch if these changes are still relevant and desired?

@gilles-peskine-arm
Copy link
Collaborator Author

I'm pretty sure this is still relevant. It got stalled because no one reviewed it. I can pick it up if someone's available to review it.

@Patater
Copy link
Contributor

Patater commented Sep 4, 2019

I can review

No indented semantic change.
Support continuation lines and remove comments.
@gilles-peskine-arm gilles-peskine-arm force-pushed the psa-error-compatibility_aliases branch from e0fb66a to 6c3e632 Compare September 6, 2019 15:44
@gilles-peskine-arm gilles-peskine-arm changed the base branch from psa-api-1.0-beta to development September 6, 2019 15:45
@gilles-peskine-arm gilles-peskine-arm added needs: review The pull request is ready for review. This generally means that it has no known issues. and removed api-spec Issue or PR about the PSA specifications labels Sep 6, 2019
@gilles-peskine-arm
Copy link
Collaborator Author

Rebased to current development, since this is where PSA development is happening now.

Rather than hard-coding a list of deprecated aliases, assume that
anything that's deprecated is an alias or otherwise not desired.
This was renamed from PSA_ERROR_TAMPERING_DETECTED. Add a backward
compatibility alias in case somebody was already using it.
@gilles-peskine-arm gilles-peskine-arm force-pushed the psa-error-compatibility_aliases branch from 6c3e632 to 1983512 Compare September 6, 2019 15:49
Copy link
Contributor

@Patater Patater left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gilles-peskine-arm
Copy link
Collaborator Author

CI failures were only API changes with deprecated aliases (that's ok) and random DTLS failures (unrelated to this PR). Ok to merge.

@gilles-peskine-arm gilles-peskine-arm merged commit c893235 into ARMmbed:development Sep 19, 2019
@gilles-peskine-arm gilles-peskine-arm removed the needs: review The pull request is ready for review. This generally means that it has no known issues. label Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants