Skip to content
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

mbedtls: fix mbed-psa link missing #400

Merged

Conversation

ccli8
Copy link

@ccli8 ccli8 commented Dec 5, 2024

Summary of changes

This reflects Mbed OS's mbedtls PSA support and fixes mbedtls link error with mbed-psa missing. mbed-psa provides one mbed psa implementation which mbedtls needs to link. For example, mbedtls_hardware_poll (located in mbedtls mbed_trng.cpp) invokes trng_init and friends which are implemented in mbed-psa psa_hrng.c.


Pull request type

[X] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

mbed-psa provides one mbed psa implementation which mbedtls needs to link.
For example, mbedtls_hardware_poll (mbedtls mbed_trng.cpp) invokes trng_init
and friends which are implemented in mbed-psa psa_hrng.c.
@ccli8 ccli8 force-pushed the mbedtls_fix_mbed-psa_link_missing branch from 45cf9e9 to 884b454 Compare December 6, 2024 05:29
Copy link
Collaborator

@multiplemonomials multiplemonomials left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@multiplemonomials multiplemonomials merged commit c3f9a8a into mbed-ce:master Dec 6, 2024
52 checks passed
@ccli8 ccli8 deleted the mbedtls_fix_mbed-psa_link_missing branch December 6, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants