From caf16fcf1d5bc90a13180eb289b28ffb4acb76aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Ga=C5=82at?= Date: Mon, 5 Jun 2023 11:04:04 +0000 Subject: [PATCH] crypto: optimize crypto algorithms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit KRKNWK-17003 Signed-off-by: Robert Gałat --- Kconfig.dependencies | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Kconfig.dependencies b/Kconfig.dependencies index 652a52e0e6..3d7ff99307 100644 --- a/Kconfig.dependencies +++ b/Kconfig.dependencies @@ -50,11 +50,16 @@ config SIDEWALK_CRYPTO imply PSA_WANT_ALG_CTR imply PSA_WANT_ALG_GCM imply PSA_WANT_ALG_CMAC + imply PSA_WANT_ALG_ECB_NO_PADDING + imply PSA_WANT_ALG_SHA_1 imply PSA_WANT_ALG_SHA_256 + imply PSA_WANT_ALG_SHA_512 imply PSA_WANT_ALG_ECDH imply PSA_WANT_ALG_ECDSA imply PSA_WANT_ALG_DETERMINISTIC_ECDSA imply PSA_WANT_ALG_STREAM_CIPHER + imply PSA_WANT_ALG_CCM + imply PSA_WANT_ALG_GCM imply PSA_WANT_ECC_SECP_R1_256 imply PSA_WANT_ECC_MONTGOMERY_255 imply PSA_WANT_ECC_TWISTED_EDWARDS_255 @@ -67,6 +72,21 @@ config SIDEWALK_CRYPTO help Sidewalk security module +if SIDEWALK_CRYPTO +config PSA_WANT_ALG_CHACHA20_POLY1305 + default n +config PSA_WANT_ALG_SHA_224 + default n +config PSA_WANT_ALG_SHA_384 + default n +config PSA_WANT_ALG_CBC_NO_PADDING + default n +config PSA_WANT_ALG_CBC_PKCS7 + default n +config PSA_WANT_ALG_HKDF + default n +endif #SIDEWALK_CRYPTO + config SIDEWALK_LOG bool default SIDEWALK