Commit 5e225e0c authored by Valerio Setti's avatar Valerio Setti Committed by Carles Cufi
Browse files

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: default avatarValerio Setti <vsetti@baylibre.com>
parent cbb32293
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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
==================

+10 −0
Original line number Diff line number Diff line
@@ -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
*************

+1 −0
Original line number Diff line number Diff line
@@ -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.