Rename PSA internal identifiers #241
Labels
No labels
api-spec
bug
CLA requested
CLA valid
compliance
DO NOT MERGE
duplicate
enhancement
feature branch
good first issue
HEADER FORMATTING ISSUE
help wanted
Information
invalid
Jira status: AWAITING REVIEW
Jira status: CLOSED
Jira status: DONE
Jira status: IN PROGRESS
Jira status: IN REVIEW
Jira status: OPEN
Jira status: REOPENED
Jira status: RESOLVED
mirrored
mirror internally
needs: backports
needs: ci
needs: design review
needs: preceding PR
needs: review
needs: work
notabug
open for community contribution
Product Backlog
question
ready for merge
security
stale
type: bug
type: enhancement
type: question
web pages
wontfix
writing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-ARMmbed/mbed-crypto#241
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
There are three categories of identifiers in the PSA part of the Mbed Crypo API.
psa_xxxorPSA_XXX.psa_xxxormbedtls_psa_xxx. For functions, I usedmbedtls_psa_xxxfor things that I considered to be strictly Mbed Crypto only, andpsa_xxxfor things that I considered experimental features possibly to be added to PSA later. But in retrospect I don't think that distinction should be reflected in the naming. For macros, I stuck toPSA_XXXto avoid complaints fromcheck-names.sh.PSA_KEY_TYPE_CATEGORY_XXX,PSA_ALG_AEAD_WITH_DEFAULT_TAG_LENGTH_CASE, …). There are also a few types and structures incrypto_struct.h.We should use separate namespaces for these three categories. Only the first category should use the reserved PSA namespace, which is yet to be defined (internal link: https://github.com/ARMmbed/psa-crypto/issues/248).
Issue request type
Internal Jira reference: https://jira.arm.com/browse/IOTCRYPT-882
Apologies, this was closed in error by the automated bot - re-opening.