-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Start TinyCrypt deprecation #79566
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
+24
−0
Conversation
This file contains 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
Maybe also mention that TinyCrypt is no longer maintained upstream? |
Wonderful ! |
valeriosetti
force-pushed
the
deprecate-tinycrypt
branch
from
October 10, 2024 09:05
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 <[email protected]>
valeriosetti
force-pushed
the
deprecate-tinycrypt
branch
2 times, most recently
from
October 10, 2024 09:53
fffff7c
to
a33c171
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 <[email protected]>
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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
Following the deprecation of TinyCrypt (zephyrproject-rtos#79566) we remove tags referring to it. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
Following the deprecation of TinyCrypt (zephyrproject-rtos#79566) we remove TinyCrypt usage in random generators. This basically only affects the CTR-DRBG random generator which from now only will only make use of Mbed TLS. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
This is part of the deprecation of TinyCrypt zephyrproject-rtos#79566. Following tests are completely removed: - tests/crypto/tinycrypt - tests/crypto/tinycrypt_hmac_prng Whereas in tests/crypto/secp256r1 only usage of TinyCrypt is removed. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
This is part of the deprecation of TinyCrypt zephyrproject-rtos#79566. Following tests are completely removed: - tests/crypto/tinycrypt - tests/crypto/tinycrypt_hmac_prng Whereas in tests/crypto/secp256r1 only usage of TinyCrypt is removed. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
This is part of the deprecation of TinyCrypt zephyrproject-rtos#79566. Following tests are completely removed: - tests/crypto/tinycrypt - tests/crypto/tinycrypt_hmac_prng Whereas in tests/crypto/secp256r1 only usage of TinyCrypt is removed. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
As part of TinyCrypt deprecation process (zephyrproject-rtos#79566) this commit removes usage of this library from the JWT subsystem and its related tests. Signed-off-by: Valerio Setti <[email protected]>
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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
Following the deprecation of TinyCrypt (zephyrproject-rtos#79566) we remove tags referring to it. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
Following the deprecation of TinyCrypt (zephyrproject-rtos#79566) we remove TinyCrypt usage in random generators. This basically only affects the CTR-DRBG random generator which from now only will only make use of Mbed TLS. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
This is part of the deprecation of TinyCrypt zephyrproject-rtos#79566. Following tests are completely removed: - tests/crypto/tinycrypt - tests/crypto/tinycrypt_hmac_prng Whereas in tests/crypto/secp256r1 only usage of TinyCrypt is removed. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 10, 2024
As part of TinyCrypt deprecation process (zephyrproject-rtos#79566) this commit removes usage of this library from the JWT subsystem and its related tests. Signed-off-by: Valerio Setti <[email protected]>
zephyrbot
added
area: Crypto / RNG
Release Notes
To be mentioned in the release notes
labels
Oct 10, 2024
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 29, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 30, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 30, 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_HCI_ECC. Rreference in samples/tests are also fixed. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 30, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 30, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 30, 2024
Following the deprecation of TinyCrypt (zephyrproject-rtos#79566) we remove TinyCrypt usage in random generators. This basically only affects the CTR-DRBG random generator which from now only will only make use of Mbed TLS. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 30, 2024
As part of TinyCrypt deprecation process (zephyrproject-rtos#79566) this commit removes usage of this library from the JWT subsystem and its related tests. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 30, 2024
As part of TinyCrypt deprecation process (zephyrproject-rtos#79566) this commit removes usage of this library from the JWT subsystem and its related tests. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Oct 30, 2024
As part of TinyCrypt deprecation process (zephyrproject-rtos#79566) this commit removes usage of this library from the JWT subsystem and its related tests. Signed-off-by: Valerio Setti <[email protected]>
mmahadevan108
pushed a commit
that referenced
this pull request
Nov 5, 2024
As part of the deprecation process of TinyCrypt started in #79566, this commit set the TinyCrypt based crypto shim driver as deprecated. Signed-off-by: Valerio Setti <[email protected]>
mmahadevan108
pushed a commit
that referenced
this pull request
Nov 5, 2024
Following the deprecation of TinyCrypt (#79566) we remove tags referring to it. Signed-off-by: Valerio Setti <[email protected]>
mmahadevan108
pushed a commit
that referenced
this pull request
Nov 5, 2024
Following the deprecation of TinyCrypt (#79566) we remove TinyCrypt usage in random generators. This basically only affects the CTR-DRBG random generator which from now only will only make use of Mbed TLS. Signed-off-by: Valerio Setti <[email protected]>
mmahadevan108
pushed a commit
that referenced
this pull request
Nov 5, 2024
As part of TinyCrypt deprecation process (#79566) this commit removes usage of this library from the JWT subsystem and its related tests. Signed-off-by: Valerio Setti <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Nov 6, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Nov 6, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Nov 6, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Nov 6, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Nov 6, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Nov 6, 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 <[email protected]>
valeriosetti
added a commit
to valeriosetti/zephyr
that referenced
this pull request
Nov 6, 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 <[email protected]>
cooked
pushed a commit
to cooked/zephyr
that referenced
this pull request
Nov 6, 2024
As part of the deprecation process of TinyCrypt started in zephyrproject-rtos#79566, this commit set the TinyCrypt based crypto shim driver as deprecated. Signed-off-by: Valerio Setti <[email protected]>
cooked
pushed a commit
to cooked/zephyr
that referenced
this pull request
Nov 6, 2024
Following the deprecation of TinyCrypt (zephyrproject-rtos#79566) we remove tags referring to it. Signed-off-by: Valerio Setti <[email protected]>
cooked
pushed a commit
to cooked/zephyr
that referenced
this pull request
Nov 6, 2024
Following the deprecation of TinyCrypt (zephyrproject-rtos#79566) we remove TinyCrypt usage in random generators. This basically only affects the CTR-DRBG random generator which from now only will only make use of Mbed TLS. Signed-off-by: Valerio Setti <[email protected]>
cooked
pushed a commit
to cooked/zephyr
that referenced
this pull request
Nov 6, 2024
As part of TinyCrypt deprecation process (zephyrproject-rtos#79566) this commit removes usage of this library from the JWT subsystem and its related tests. Signed-off-by: Valerio Setti <[email protected]>
andrewnyland
pushed a commit
to onceLabs/zephyr
that referenced
this pull request
Nov 6, 2024
As part of the deprecation process of TinyCrypt started in zephyrproject-rtos#79566, this commit set the TinyCrypt based crypto shim driver as deprecated. Signed-off-by: Valerio Setti <[email protected]>
andrewnyland
pushed a commit
to onceLabs/zephyr
that referenced
this pull request
Nov 6, 2024
Following the deprecation of TinyCrypt (zephyrproject-rtos#79566) we remove tags referring to it. Signed-off-by: Valerio Setti <[email protected]>
andrewnyland
pushed a commit
to onceLabs/zephyr
that referenced
this pull request
Nov 6, 2024
Following the deprecation of TinyCrypt (zephyrproject-rtos#79566) we remove TinyCrypt usage in random generators. This basically only affects the CTR-DRBG random generator which from now only will only make use of Mbed TLS. Signed-off-by: Valerio Setti <[email protected]>
andrewnyland
pushed a commit
to onceLabs/zephyr
that referenced
this pull request
Nov 6, 2024
As part of TinyCrypt deprecation process (zephyrproject-rtos#79566) this commit removes usage of this library from the JWT subsystem and its related tests. Signed-off-by: Valerio Setti <[email protected]>
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