File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
scripts/copy_from_upstream Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,11 @@ cmake_dependent_option(OQS_ENABLE_SIG_snova_SNOVA_24_5_5 "" ON "OQS_ENABLE_SIG_S
223223cmake_dependent_option(OQS_ENABLE_SIG_snova_SNOVA_60_10_4 "" ON "OQS_ENABLE_SIG_SNOVA" OFF )
224224cmake_dependent_option(OQS_ENABLE_SIG_snova_SNOVA_29_6_5 "" ON "OQS_ENABLE_SIG_SNOVA" OFF )
225225
226+ if (OQS_USE_GMP)
226227option (OQS_ENABLE_SIG_SQISIGN "Enable sqisign algorithm family" ON )
228+ else ()
229+ option (OQS_ENABLE_SIG_SQISIGN "Enable sqisign algorithm family" OFF )
230+ endif ()
227231cmake_dependent_option(OQS_ENABLE_SIG_sqisign_lvl1 "" ON "OQS_ENABLE_SIG_SQISIGN" OFF )
228232cmake_dependent_option(OQS_ENABLE_SIG_sqisign_lvl3 "" ON "OQS_ENABLE_SIG_SQISIGN" OFF )
229233cmake_dependent_option(OQS_ENABLE_SIG_sqisign_lvl5 "" ON "OQS_ENABLE_SIG_SQISIGN" OFF )
Original file line number Diff line number Diff line change @@ -16,7 +16,15 @@ cmake_dependent_option(OQS_ENABLE_KEM_{{ family['name'] }}_{{ scheme['alias_sche
1616{%- if 'disable_by_default' in family and family['disable_by_default'] %}
1717option(OQS_ENABLE_SIG_{{ family['name']|upper }} "Enable {{ family['name'] }} algorithm family" OFF)
1818{%- else %}
19+ {%- if 'external' in family and family['external'] == 'gmp' %}
20+ if (OQS_USE_GMP)
21+ {%- endif %}
1922option(OQS_ENABLE_SIG_{{ family['name']|upper }} "Enable {{ family['name'] }} algorithm family" ON)
23+ {%- if 'external' in family and family['external'] == 'gmp' %}
24+ else()
25+ option(OQS_ENABLE_SIG_{{ family['name']|upper }} "Enable {{ family['name'] }} algorithm family" OFF)
26+ endif()
27+ {%- endif %}
2028{%- endif %}
2129 {%- for scheme in family['schemes'] %}
2230cmake_dependent_option(OQS_ENABLE_SIG_{{ family['name'] }}_{{ scheme['scheme'] }} "" ON "OQS_ENABLE_SIG_{{ family['name']|upper }}" OFF)
Original file line number Diff line number Diff line change @@ -606,6 +606,7 @@ sigs:
606606 name : sqisign
607607 default_implementation : ref
608608 upstream_location : the-sqisign
609+ external : gmp
609610 schemes :
610611 -
611612 scheme : " lvl1"
You can’t perform that action at this time.
0 commit comments