-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Start TinyCrypt deprecation #79566
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
Merged
carlescufi
merged 1 commit into
zephyrproject-rtos:main
from
valeriosetti:deprecate-tinycrypt
Oct 17, 2024
Merged
Start TinyCrypt deprecation #79566
carlescufi
merged 1 commit into
zephyrproject-rtos:main
from
valeriosetti:deprecate-tinycrypt
Oct 17, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
|
Maybe also mention that TinyCrypt is no longer maintained upstream? |
Member
|
Wonderful ! |
692eab9 to
1a785c1
Compare
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
Remove the TinyCrypt's crypto shim driver and its usage in the samples. This is part of the deprecation process of TinyCrypt started in zephyrproject-rtos#79566. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
fffff7c to
a33c171
Compare
cvinayak
pushed a commit
to cvinayak/zephyr
that referenced
this pull request
Nov 14, 2024
As part of the deprecation process of TinyCrypt in Zephyr codebase (zephyrproject-rtos#79566) this commit removes CONFIG_BT_USE_PSA_API symbol. This was used in BT crypto/host modules to select PSA crypto API over TinyCrypt (which was the default until now). Since TinyCrypt is removed and PSA crypto API is the new standard library for crypto operations, CONFIG_BT_USE_PSA_API is no more needed. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
cvinayak
pushed a commit
to cvinayak/zephyr
that referenced
this pull request
Nov 14, 2024
As part of the deprecation process of TinyCrypt in Zephyr codebase (zephyrproject-rtos#79566) this commit sets PSA Crypto API as the default library to perform ECC-DH in HCI, replacing TinyCrypt. Therefore the symbol BT_TINYCRYPT_ECC is renamed as BT_SEND_ECC_EMULATION. Rreference in samples/tests are also fixed. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
cvinayak
pushed a commit
to cvinayak/zephyr
that referenced
this pull request
Nov 14, 2024
As part of the deprecation process of TinyCrypt in Zephyr codebase (zephyrproject-rtos#79566) this commit removes TinyCrypt usage from BT mesh and also the related CONFIG_BT_MESH_USES_TINYCRYPT symbol and it sets PSA Crypto APIs as the default library for crypto operations. Tests are also updated in this commit. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
cvinayak
pushed a commit
to cvinayak/zephyr
that referenced
this pull request
Nov 14, 2024
As part of the deprecation process of TinyCrypt in Zephyr codebase (zephyrproject-rtos#79566) this commit modified the dependencies of BT_RPA. Instead of selecting TinyCrypt, it relies on BT_HOST_CRYPTO or BT_CTLR_CRYPTO. This helps both in the deprecation process of TinyCrypt, but also this is more correct dependency since these 2 symbols are extensively used in the rpa.c source code. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR:
Work in progress
Remove all usages of TinyCrypt from the Zephyr's codebase as required from the API Lifecycle documentation
To do