Skip to content

Commit 5e225e0

Browse files
valeriosetticarlescufi
authored andcommitted
tinycrypt: deprecate the library
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 #43712). This commit is only the inital step: updates documentation and add the DEPRECATED Kconfig option to the TINYCRYPT one. Signed-off-by: Valerio Setti <[email protected]>
1 parent cbb3229 commit 5e225e0

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

doc/releases/migration-guide-4.0.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,19 @@ Mbed TLS
7575
corresponding build symbol was removed in Mbed TLS 3.1.0 and is now assumed to
7676
be enabled. (:github:`77657`)
7777

78+
TinyCrypt
79+
=========
80+
81+
* Starting from this release the library is marked as deprecated (:github:`79566`).
82+
The reasons for this are (:github:`43712``):
83+
84+
* the upstream version of this library is unmaintained.
85+
86+
* to reduce the number of crypto libraries available in Zephyr (currently there are
87+
3 different implementations: TinyCrypt, MbedTLS and PSA Crypto APIs).
88+
89+
The PSA Crypto API is now the de-facto standard to perform crypto operations.
90+
7891
Trusted Firmware-M
7992
==================
8093

doc/releases/release-notes-4.0.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ Deprecated in this release
5656

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

59+
* The TinyCrypt library was marked as deprecated (:github:`79566`). The reasons
60+
for this are (:github:`43712``):
61+
62+
* the upstream version of this library is unmaintained.
63+
64+
* to reduce the number of crypto libraries available in Zephyr (currently there are
65+
3 different implementations: TinyCrypt, MbedTLS and PSA Crypto APIs).
66+
67+
The PSA Crypto API is now the de-facto standard to perform crypto operations.
68+
5969
Architectures
6070
*************
6171

modules/Kconfig.tinycrypt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ config ZEPHYR_TINYCRYPT_MODULE
99
config TINYCRYPT
1010
bool "TinyCrypt Support"
1111
depends on ZEPHYR_TINYCRYPT_MODULE
12+
select DEPRECATED
1213
help
1314
This option enables the TinyCrypt cryptography library.
1415

0 commit comments

Comments
 (0)