From f5c7dcf0bfdaa0d8c9c7d2728dd309f2e84e876c Mon Sep 17 00:00:00 2001 From: rtjk <47841774+rtjk@users.noreply.github.com> Date: Thu, 15 Aug 2024 17:37:14 +0200 Subject: [PATCH] disabled variants with large stack usage in zephyr Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> --- zephyr/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index 5f5e9fe9c..3d7bed0e7 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -130,6 +130,13 @@ if(CONFIG_LIBOQS) if(CONFIG_LIBOQS_ENABLE_SIG_CROSS) set(OQS_ENABLE_SIG_CROSS ON) + # Disable CROSS variants with large stack usage + set(OQS_ENABLE_SIG_cross_rsdp_128_small OFF) + set(OQS_ENABLE_SIG_cross_rsdp_192_small OFF) + set(OQS_ENABLE_SIG_cross_rsdp_256_balanced OFF) + set(OQS_ENABLE_SIG_cross_rsdp_256_small OFF) + set(OQS_ENABLE_SIG_cross_rsdpg_192_small OFF) + set(OQS_ENABLE_SIG_cross_rsdpg_256_small OFF) else() set(OQS_ENABLE_SIG_CROSS OFF) endif()