Skip to content

Commit 6410b98

Browse files
committed
SLH-DSA-Ascon: disable by default
Considering that this algorithm has not been analyzed and it is considered a proof-of-concept, disable it by default. Signed-off-by: Stephan Mueller <smueller@chronox.de>
1 parent 2fc7ede commit 6410b98

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

.github/workflows/asan-address-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
sudo apt-get update
1919
sudo apt-get install -y meson
2020
- name: Meson setup build
21-
run: meson setup build -Db_sanitize=address
21+
run: meson setup build -Db_sanitize=address -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled
2222
- name: Meson compile
2323
run: meson compile -C build
2424
- name: Meson test

.github/workflows/clang-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
sudo apt-get update
1919
sudo apt-get install -y meson clang clang-tools
2020
- name: Meson setup
21-
run: CC=clang meson setup build
21+
run: CC=clang meson setup build -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled
2222
- name: Clang Scanner
2323
run: SCANBUILD=$(pwd)/addon/scan-build.sh ninja -C build/ scan-build

.github/workflows/efi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
sudo apt-get update
1919
sudo apt-get install -y meson gnu-efi
2020
- name: Meson setup
21-
run: meson setup build -Defi=enabled -Dpkcs7_generator=disabled -Dx509_generator=disabled
21+
run: meson setup build -Defi=enabled -Dpkcs7_generator=disabled -Dx509_generator=disabled -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled
2222
- name: Meson compile
2323
run: meson compile -C build

.github/workflows/macos-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install meson
1717
run: brew install meson
1818
- name: Meson setup
19-
run: meson setup build
19+
run: meson setup build -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled
2020
- name: Meson compile
2121
run: meson compile -C build
2222
- name: Meson test

.github/workflows/small-stack-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
sudo apt-get update
1919
sudo apt-get install -y meson
2020
- name: Meson setup
21-
run: meson setup build -Dsmall_stack=enabled
21+
run: meson setup build -Dsmall_stack=enabled -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled
2222
- name: Meson compile
2323
run: meson compile -C build
2424
- name: Meson test

.github/workflows/timecop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
sudo apt-get install -y meson
2020
sudo apt-get install -y valgrind
2121
- name: Meson setup build
22-
run: meson setup build -Dtimecop=enabled
22+
run: meson setup build -Dtimecop=enabled -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled
2323
- name: Meson compile
2424
run: meson compile -C build
2525
- name: Meson test

.github/workflows/userspace-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
sudo apt-get update
1919
sudo apt-get install -y meson gcovr doxygen graphviz
2020
- name: Meson setup
21-
run: meson setup build -Db_coverage=true
21+
run: meson setup build -Db_coverage=true -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled
2222
- name: Meson compile
2323
run: meson compile -C build
2424
- name: Meson test

.github/workflows/windows-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
update: true
2828
install: git meson mingw-w64-${{matrix.env}}-meson mingw-w64-${{matrix.env}}-gcc
2929
- name: Meson setup
30-
run: msys2 -c 'meson setup build'
30+
run: msys2 -c 'meson setup build -Dslh_dsa_ascon_128s=enabled -Dslh_dsa_ascon_128f=enabled'
3131
- name: Meson compile
3232
run: msys2 -c 'meson compile -C build'
3333
- name: Meson test

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Changes 1.3.0-prerelease
1717

1818
* Add optional Jitter RNG entropy source
1919

20-
* Add SLH-DSA-Ascon-128[s|f]
20+
* Add SLH-DSA-Ascon-128[s|f] (by default they are disabled, enable with meson configuration options `slh_dsa_ascon_128s` and `slh_dsa_ascon_128f`)
2121

2222
Changes 1.2.0
2323
* Locking für seeded_rng added to avoid requiring the caller providing a lock

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ Leancrypto offers various cryptographic algorithms:
289289

290290
* ML-DSA (Dilithium) hybrid signature operation with Curve25519
291291

292-
* SLH-DSA (Sphincs Plus)
292+
* SLH-DSA (Sphincs Plus) with SHAKE and Ascon
293293

294294
* Symmetric algorithms
295295

0 commit comments

Comments
 (0)