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 <vsetti@baylibre.com>
This commit is contained in:
Valerio Setti 2024-10-08 17:29:41 +02:00 committed by Carles Cufí
parent cbb322937f
commit 5e225e0c8b
3 changed files with 24 additions and 0 deletions

View File

@ -75,6 +75,19 @@ 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 marked as deprecated (:github:`79566`).
The reasons for this are (:github:`43712``):
* the upstream version of this library is unmaintained.
* to reduce the number of crypto libraries available in Zephyr (currently there are
3 different implementations: TinyCrypt, MbedTLS and PSA Crypto APIs).
The PSA Crypto API is now the de-facto standard to perform crypto operations.
Trusted Firmware-M
==================

View File

@ -56,6 +56,16 @@ Deprecated in this release
* The :ref:`kscan_api` subsystem has been marked as deprecated.
* The TinyCrypt library was marked as deprecated (:github:`79566`). The reasons
for this are (:github:`43712``):
* the upstream version of this library is unmaintained.
* to reduce the number of crypto libraries available in Zephyr (currently there are
3 different implementations: TinyCrypt, MbedTLS and PSA Crypto APIs).
The PSA Crypto API is now the de-facto standard to perform crypto operations.
Architectures
*************

View File

@ -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.