Skip to content

Commit

Permalink
tinycrypt: deprecate the library
Browse files Browse the repository at this point in the history
Since we now have PSA Crypto APIs/Mbed TLS alternatives for crypto
operations in all Zephyr's codebase we can start the deprecation
of the TinyCrypt libary (as planned from zephyrproject-rtos#43712).

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
  • Loading branch information
valeriosetti committed Oct 10, 2024
1 parent d022d31 commit 1a785c1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/releases/migration-guide-4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ Mbed TLS
corresponding build symbol was removed in Mbed TLS 3.1.0 and is now assumed to
be enabled. (:github:`77657`)

TinyCrypt
=========

* Starting from this release the library is being marked as deprecated (:github:`79566`).
The reasons for this are that (:github:`43712``):
* the upstream version of this library is unmaintained
* reduce the number of crypto libraries available in Zephyr (currently there are
3 different implementations: TinyCrypt, MbedTLS and PSA Crypto APIs).

PSA Crypto APIs are proposed as the de-facto standard for the future to perform
crypto operations.

Trusted Firmware-M
==================

Expand Down
9 changes: 9 additions & 0 deletions doc/releases/release-notes-4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ Deprecated in this release

* The :ref:`kscan_api` subsystem has been marked as deprecated.

* Starting from this release the library is being marked as deprecated (:github:`79566`).
The reasons for this are that (:github:`43712``):
* the upstream version of this library is unmaintained
* reduce the number of crypto libraries available in Zephyr (currently there are
3 different implementations: TinyCrypt, MbedTLS and PSA Crypto APIs).

PSA Crypto APIs are proposed as the de-facto standard for the future to perform
crypto operations.

Architectures
*************

Expand Down
1 change: 1 addition & 0 deletions modules/Kconfig.tinycrypt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ config ZEPHYR_TINYCRYPT_MODULE
config TINYCRYPT
bool "TinyCrypt Support"
depends on ZEPHYR_TINYCRYPT_MODULE
select DEPRECATED
help
This option enables the TinyCrypt cryptography library.

Expand Down

0 comments on commit 1a785c1

Please sign in to comment.