-
Notifications
You must be signed in to change notification settings - Fork 1.4k
kconfig.nrf: Enable heap if BT_CRYPTO is enabled #23811
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
kconfig.nrf: Enable heap if BT_CRYPTO is enabled #23811
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 4f78df58f8c97a5d45bc279c03cc654f4111d0f6 more detailssdk-nrf:
zephyr:
Github labels
List of changed files detected by CI (3)Outputs:ToolchainVersion: c5be9c56c7 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
|
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
ef2219f to
ed83753
Compare
|
You can find the documentation preview for this PR here. |
|
Passed here: https://jenkins-ncs.nordicsemi.no/job/latest/job/test-fw-twister-ncs-zephyr/job/customizable/job/main/751/console |
The bt_crypto_aes_cmac function from bt_crypto library uses psa_import_key function which requires memory for importing keys. The memory is allocated in the heap, therefore MBEDTLS_ENABLE_HEAP should be enabled. This allows to build tests.bluetooth.bt_crypto.psa upstream tests. Signed-off-by: Pavel Vasilyev <[email protected]>
Pull in changes for nRF5340 bt_crypto zephyr test. Signed-off-by: Pavel Vasilyev <[email protected]>
ed83753 to
4f78df5
Compare
The bt_crypto_aes_cmac function from bt_crypto library uses psa_import_key function which requires memory for importing keys. The memory is allocated in the heap, therefore MBEDTLS_ENABLE_HEAP should be enabled.
This allows to build tests.bluetooth.bt_crypto.psa upstream tests.