From 2907a961f7b0758c6faef641c445b8d94972546e Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Thu, 5 Dec 2024 14:48:35 -0800 Subject: [PATCH] TinyCrypt: Deprecate the library Now that PSA is supported on Zephyr and the code base has changed to use that library, TinyCrypt is been deprecate. Reasons for this change can be found in #43712. Signed-off-by: Flavio Ceolin --- doc/releases/release-notes-4.1.rst | 6 ++++++ modules/Kconfig.tinycrypt | 1 + 2 files changed, 7 insertions(+) diff --git a/doc/releases/release-notes-4.1.rst b/doc/releases/release-notes-4.1.rst index 0e0dd658237..0e10a5002a8 100644 --- a/doc/releases/release-notes-4.1.rst +++ b/doc/releases/release-notes-4.1.rst @@ -43,6 +43,12 @@ Deprecated in this release the same functionality in their application code by reconnecting to the peer when the :c:member:`bt_conn_cb.disconnected` callback is invoked. +* Deprecated TinyCrypt library. The reasons for this are (:github:`43712`): + + * The upstream version of this library is no longer maintained. + * Reducing the number of cryptographic libraries in Zephyr to reduce maintenance overhead. + * The PSA Crypto API is the recommended cryptographic library for Zephyr. + Architectures ************* diff --git a/modules/Kconfig.tinycrypt b/modules/Kconfig.tinycrypt index 168e05ed799..b54ad764128 100644 --- a/modules/Kconfig.tinycrypt +++ b/modules/Kconfig.tinycrypt @@ -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.