]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Use wolfSSL 5.7.4 for tests
authorTobias Brunner <tobias@strongswan.org>
Mon, 28 Oct 2024 09:34:08 +0000 (10:34 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 22 Nov 2024 13:03:17 +0000 (14:03 +0100)
This adds support for ML-KEM etc.

scripts/test.sh
testing/scripts/recipes/012_wolfssl.mk

index 75e50a9c07187890d65745c1e8fd905e495717ca..5c05a2bd6e42bf760880971548e8b0570bc91e20 100755 (executable)
@@ -37,7 +37,7 @@ build_botan()
 
 build_wolfssl()
 {
-       WOLFSSL_REV=v5.7.2-stable
+       WOLFSSL_REV=v5.7.4-stable
        WOLFSSL_DIR=$DEPS_BUILD_DIR/wolfssl
 
        if test -d "$WOLFSSL_DIR"; then
@@ -47,7 +47,8 @@ build_wolfssl()
        echo "$ build_wolfssl()"
 
        WOLFSSL_CFLAGS="-DWOLFSSL_PUBLIC_MP -DWOLFSSL_DES_ECB -DHAVE_AES_ECB \
-                                       -DHAVE_ECC_BRAINPOOL -DWOLFSSL_MIN_AUTH_TAG_SZ=8"
+                                       -DHAVE_ECC_BRAINPOOL -DWOLFSSL_MIN_AUTH_TAG_SZ=8 \
+                                       -DRSA_MIN_SIZE=1024"
        WOLFSSL_CONFIG="--prefix=$DEPS_PREFIX
                                        --disable-crypttests --disable-examples
                                        --enable-aesccm --enable-aesctr --enable-camellia
index e836aa5f605bb99ba242093b6f4827121e399670..2bbe0e87bed502720f29879f963934531a4f44cb 100644 (file)
@@ -2,16 +2,14 @@
 
 PKG = wolfssl
 SRC = https://github.com/wolfSSL/$(PKG).git
-REV = v5.7.2-stable
+REV = v5.7.4-stable
 
 NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
 
 CFLAGS = \
        -DWOLFSSL_PUBLIC_MP \
-       -DWOLFSSL_DES_ECB \
        -DHAVE_AES_ECB \
-       -DHAVE_ECC_BRAINPOOL \
-       -DWOLFSSL_MIN_AUTH_TAG_SZ=8
+       -DHAVE_ECC_BRAINPOOL
 
 CONFIG_OPTS = \
        --disable-crypttests \