Repo split sibling: Fix oid backwards deps #29
No reviewers
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!29
Loading…
Reference in a new issue
No description provided.
Delete branch "dev/mpg/sibling-oid-backwards-deps"
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?
As a preparation for deduplicating files, fix backwards include and config dependencies in the OID module.
This is a sibling PR to https://github.com/ARMmbed/mbedtls/pull/2380
Note: currently this is based on mbedcrypto-0.1.0-beta + ITS fix, in order to avoid pulling unrelated changes on the TLS side when referencing the top commit of this branch.
Note: labeling as "do not merge" for now, as repo split has been postponed for a few weeks.
Looks ok: it's backward-compatible and resolves the dependencies of
oid.handoid.conx509.hand X509-related configuration. I'm slightly worried about the code size increase in a build where oid.c is included only for the sake of rsa or pkparse, but I doubt that it would be a blocker.How much of a code size increase does this cause in a build with
MBEDTLS_OID_C(for the sake of rsa or pkparse) but without X509?What's the merge strategy here? Why not merge https://github.com/ARMmbed/mbedtls/pull/2380 and then update
mbed-crypto/developmentto the latestmbedtls/development? Cc @Patater@gilles-peskine-arm Good question. I suggest we come back to this when we're ready to progress on that front; yesterday we decided to postpone the split to after Q1, so I consider this PR and associated discussion parked for now.
Let's merge into Mbed TLS development first and then merge to Mbed Crypto development. We did sibling PRs in the last release because there wasn't anything on the Mbed TLS development branch to merge from, only development-psa. Sibling PRs also made it a bit annoying to reconcile the changes when we did merge from TLS development to Crypto development, so it's preferable to avoid them.
Pull request closed