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

nimble/host: Add option to build with Mbed-TLS #1639

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Oct 12, 2023

So far TinyCRYPT library was used in SM.
Now it is possible to build it with Mbed-TLS.

So far TinyCRYPT library was used in SM.
Now it is possible to build it with Mbed-TLS.
CMAC support in Mbed-TLS is off by default
This turns it on for nimble host tests.
@kasjer kasjer requested a review from sjanc October 12, 2023 13:46
@@ -101,6 +101,10 @@ syscfg.defs:
description: 'Security manager secure connections (4.2).'
value: 0

BLE_SM_USE_TINYCRYPT:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd make this choice option

BLE_SM_CRYPTO:
value: tinycrypt
choices:
- tinycrypt
- mbedtls

Although mbedtls seems to be bigger than tinycrypt it may stil be preferred if application is already using it for other reasons

Copy link
Contributor

Choose a reason for hiding this comment

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

@kasjer @sjanc what plan we have about this?

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.

None yet

3 participants