From d946fa7c65177d6150a83eac80465ac03808e0a2 Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Tue, 13 Feb 2024 09:51:02 -0500 Subject: [PATCH] Don't build stateful sigs by default for Android --- .github/workflows/android.yml | 2 +- scripts/build-android.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c4a1ff3c26..26b4d13186 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -16,4 +16,4 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - name: Build project - run: ./scripts/build-android.sh $ANDROID_NDK_HOME -a ${{ matrix.abi }} -f "-DOQS_ENABLE_SIG_STFL_KEY_SIG_GEN=${{ matrix.stfl_opt }}" + run: ./scripts/build-android.sh $ANDROID_NDK_HOME -a ${{ matrix.abi }} -f "-DOQS_ENABLE_SIG_STFL_LMS=ON -DOQS_ENABLE_SIG_STFL_XMSS=ON -DOQS_ENABLE_SIG_STFL_KEY_SIG_GEN=${{ matrix.stfl_opt }}" diff --git a/scripts/build-android.sh b/scripts/build-android.sh index 329b2d523d..54a03d21b3 100755 --- a/scripts/build-android.sh +++ b/scripts/build-android.sh @@ -110,8 +110,6 @@ cmake .. -DOQS_USE_OPENSSL=OFF \ -DCMAKE_TOOLCHAIN_FILE="$NDK"/build/cmake/android.toolchain.cmake \ -DANDROID_ABI="$ABI" \ -DANDROID_NATIVE_API_LEVEL="$MINSDKVERSION" \ - -DOQS_ENABLE_SIG_STFL_LMS=ON \ - -DOQS_ENABLE_SIG_STFL_XMSS=ON \ $EXTRAFLAGS cmake --build ./