-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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: Rename AEAD tag length macros #3967
PSA: Rename AEAD tag length macros #3967
Conversation
7d0ad5e
to
de9e9ac
Compare
#3984 Is dealing with an overlapping set of macros. Once the relevant parts of this PR are merged into that one (which I've already requested), I'll drop the overlapping changes, and refocus this PR on renaming |
de9e9ac
to
d8a3837
Compare
I've pushed a new version of the PR that removes the overlaps with #3984, and renamed the PR accordingly. |
d8a3837
to
254255b
Compare
I've rebased this PR on top of develoment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is one remaining usage of the PSA_ALG_AEAD_WITH_TAG_LENGTH in tests/scripts/set_psa_test_dependencies.py that was introduced by PR 4012. Otherwise this looks good to me.
1849360
to
254255b
Compare
This brings them in line with PSA Crypto API 1.0.0 PSA_ALG_AEAD_WITH_DEFAULT_TAG_LENGTH -> PSA_ALG_AEAD_WITH_DEFAULT_LENGTH_TAG PSA_ALG_AEAD_WITH_TAG_LENGTH -> PSA_ALG_AEAD_WITH_SHORTENED_TAG Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
254255b
to
a63b20d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR renames the AEAD tag length macros that were renamed in the PSA crypto API spec between Beta 3 and 1.0.0
Fixes parts of #3278
Status
READY
Requires Backporting
No, PSA only
Migrations
Yes, This brings them in line with PSA Crypto API 1.0.0
PSA_ALG_AEAD_WITH_DEFAULT_TAG_LENGTH
->PSA_ALG_AEAD_WITH_DEFAULT_LENGTH_TAG
PSA_ALG_AEAD_WITH_TAG_LENGTH
->PSA_ALG_AEAD_WITH_SHORTENED_TAG