809809 test "$enable_camellia" = "" && enable_camellia=yes
810810 test "$enable_ripemd" = "" && enable_ripemd=yes
811811 test "$enable_sha224" = "" && enable_sha224=yes
812+ test "$enable_sha512" = "" && enable_sha512=yes
813+ test "$enable_sha3" = "" && enable_sha3=yes
812814 test "$enable_shake128" = "" && enable_shake128=yes
813815 test "$enable_shake256" = "" && enable_shake256=yes
814816 test "$enable_sessioncerts" = "" && enable_sessioncerts=yes
@@ -867,12 +869,6 @@ then
867869 test "$enable_ech" = "" && enable_ech=yes
868870 test "$enable_srtp" = "" && enable_srtp=yes
869871
870- if test "$ENABLED_32BIT" != "yes"
871- then
872- test "$enable_sha512" = "" && enable_sha512=yes
873- test "$enable_sha3" = "" && enable_sha3=yes
874- fi
875-
876872 if test "$ENABLED_LINUXKM_DEFAULTS" != "yes"
877873 then
878874 test "$enable_compkey" = "" && enable_compkey=yes
@@ -923,13 +919,10 @@ then
923919 test "$enable_pkcs7" = "" && enable_pkcs7=yes
924920 test "$enable_nullcipher" = "" && enable_nullcipher=yes
925921 test "$enable_mcast" = "" && enable_mcast=yes
926- if test "$ENABLED_32BIT" != "yes"
927- then
928- test "$enable_ed25519" = "" && enable_ed25519=yes
929- test "$enable_ed25519_stream" = "" && test "$enable_ed25519" != "no" && enable_ed25519_stream=yes
930- test "$enable_ed448" = "" && enable_ed448=yes
931- test "$enable_ed448_stream" = "" && test "$enable_ed448" != "no" && enable_ed448_stream=yes
932- fi
922+ test "$enable_ed25519" = "" && enable_ed25519=yes
923+ test "$enable_ed25519_stream" = "" && test "$enable_ed25519" != "no" && enable_ed25519_stream=yes
924+ test "$enable_ed448" = "" && enable_ed448=yes
925+ test "$enable_ed448_stream" = "" && test "$enable_ed448" != "no" && enable_ed448_stream=yes
933926
934927 if test "$ENABLED_LINUXKM_DEFAULTS" != "yes"
935928 then
@@ -1005,6 +998,8 @@ then
1005998 test "$enable_camellia" = "" && enable_camellia=yes
1006999 test "$enable_ripemd" = "" && enable_ripemd=yes
10071000 test "$enable_sha224" = "" && enable_sha224=yes
1001+ test "$enable_sha512" = "" && enable_sha512=yes
1002+ test "$enable_sha3" = "" && enable_sha3=yes
10081003 test "$enable_shake128" = "" && enable_shake128=yes
10091004 test "$enable_shake256" = "" && enable_shake256=yes
10101005 test "$enable_sessioncerts" = "" && enable_sessioncerts=yes
@@ -1047,12 +1042,6 @@ then
10471042 test "$enable_ssh" = "" && test "$enable_hmac" != "no" && enable_ssh=yes
10481043 test "$enable_srtp_kdf" = "" && enable_srtp_kdf=yes
10491044
1050- if test "$ENABLED_32BIT" != "yes"
1051- then
1052- test "$enable_sha512" = "" && enable_sha512=yes
1053- test "$enable_sha3" = "" && enable_sha3=yes
1054- fi
1055-
10561045 if test "$ENABLED_LINUXKM_DEFAULTS" != "yes"
10571046 then
10581047 test "$enable_compkey" = "" && enable_compkey=yes
@@ -1074,13 +1063,10 @@ then
10741063 test "$enable_xchacha" = "" && test "$enable_chacha" != "no" && enable_xchacha=yes
10751064 test "$enable_pkcs7" = "" && enable_pkcs7=yes
10761065 test "$enable_nullcipher" = "" && enable_nullcipher=yes
1077- if test "$ENABLED_32BIT" != "yes"
1078- then
1079- test "$enable_ed25519" = "" && enable_ed25519=yes
1080- test "$enable_ed25519_stream" = "" && test "$enable_ed25519" != "no" && enable_ed25519_stream=yes
1081- test "$enable_ed448" = "" && enable_ed448=yes
1082- test "$enable_ed448_stream" = "" && test "$enable_ed448" != "no" && enable_ed448_stream=yes
1083- fi
1066+ test "$enable_ed25519" = "" && enable_ed25519=yes
1067+ test "$enable_ed25519_stream" = "" && test "$enable_ed25519" != "no" && enable_ed25519_stream=yes
1068+ test "$enable_ed448" = "" && enable_ed448=yes
1069+ test "$enable_ed448_stream" = "" && test "$enable_ed448" != "no" && enable_ed448_stream=yes
10841070
10851071 if test "$ENABLED_LINUXKM_DEFAULTS" != "yes"
10861072 then
34333419# set sha3 default
34343420SHA3_DEFAULT=no
34353421if (test "$host_cpu" = "x86_64" || test "$host_cpu" = "aarch64" ||
3436- test "$host_cpu" = "amd64") && test "$ENABLED_32BIT" = "no"
3422+ test "$host_cpu" = "amd64")
34373423then
34383424 if test "x$ENABLED_FIPS" = "xno" || test "$HAVE_FIPS_VERSION" -ge 2
34393425 then
@@ -3475,7 +3461,7 @@ AC_ARG_ENABLE([sha512],
34753461 )
34763462
34773463# options that don't require sha512
3478- if test "$ENABLED_LEANPSK" = "yes" || test "$ENABLED_LEANTLS" = "yes" || test "$ENABLED_32BIT" = "yes" || test "$ ENABLED_16BIT" = "yes"
3464+ if test "$ENABLED_LEANPSK" = "yes" || test "$ENABLED_LEANTLS" = "yes" || test "$ENABLED_16BIT" = "yes"
34793465then
34803466 ENABLED_SHA512="no"
34813467fi
@@ -3501,7 +3487,7 @@ AC_ARG_ENABLE([sha384],
35013487 )
35023488
35033489# options that don't require sha384
3504- if test "$ENABLED_LEANPSK" = "yes" || test "$ENABLED_LEANTLS" = "yes" || test "$ENABLED_32BIT" = "yes" || test "$ ENABLED_16BIT" = "yes"
3490+ if test "$ENABLED_LEANPSK" = "yes" || test "$ENABLED_LEANTLS" = "yes" || test "$ENABLED_16BIT" = "yes"
35053491then
35063492 ENABLED_SHA384="no"
35073493fi
@@ -5363,7 +5349,7 @@ then
53635349fi
53645350
53655351# Ed448
5366- if test "$ENABLED_ED448" != "no" && test "$ENABLED_32BIT" = "no"
5352+ if test "$ENABLED_ED448" != "no"
53675353then
53685354 if test "$ENABLED_ED448" = "small" || test "$ENABLED_LOWRESOURCE" = "yes"
53695355 then
@@ -5406,7 +5392,7 @@ then
54065392fi
54075393
54085394# Set SHA-3 flags
5409- if test "$ENABLED_SHA3" != "no" && test "$ENABLED_32BIT" = "no"
5395+ if test "$ENABLED_SHA3" != "no"
54105396then
54115397 AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHA3"
54125398fi
54165402AS_IF ( [ test "x$ENABLED_FIPS" = "xyes" && test $HAVE_FIPS_VERSION -lt 6] ,
54175403 [ ENABLED_SHAKE128="no"] )
54185404
5419- if test "$ENABLED_SHAKE128" != "no" && test "$ENABLED_32BIT" = "no"
5405+ if test "$ENABLED_SHAKE128" != "no"
54205406then
54215407 AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHAKE128"
54225408 if test "$ENABLED_SHA3" = "no"
54325418AS_IF ( [ test "x$ENABLED_FIPS" = "xyes" && test $HAVE_FIPS_VERSION -lt 6] ,
54335419 [ ENABLED_SHAKE256="no"] )
54345420
5435- if test "$ENABLED_SHAKE256" != "no" && test "$ENABLED_32BIT" = "no"
5421+ if test "$ENABLED_SHAKE256" != "no"
54365422then
54375423 AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHAKE256"
54385424 if test "$ENABLED_SHA3" = "no"
@@ -8667,7 +8653,7 @@ then
86678653 ENABLED_OPENSSLEXTRA="yes"
86688654fi
86698655
8670- if test "$ENABLED_ED25519" != "no" && test "$ENABLED_32BIT" = "no"
8656+ if test "$ENABLED_ED25519" != "no"
86718657then
86728658 if test "$ENABLED_ED25519" = "small" || test "$ENABLED_LOWRESOURCE" = "yes"
86738659 then
@@ -8835,9 +8821,9 @@ AS_IF([test "x$ENABLED_CERTGEN" = "xyes"],
88358821AS_IF ( [ test "x$ENABLED_CERTEXT" = "xyes"] ,
88368822 [ AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_CERT_EXT"] )
88378823
8838- AS_IF ( [ test "x$ENABLED_ED25519" = "xyes" && test "x$ENABLED_32BIT" = "xno" ] ,
8824+ AS_IF ( [ test "x$ENABLED_ED25519" = "xyes"] ,
88398825 [ AM_CFLAGS="$AM_CFLAGS -DHAVE_ED25519"] )
8840- AS_IF ( [ test "x$ENABLED_ED25519" = "xyes" && test "x$ENABLED_32BIT" = "xno" ] ,
8826+ AS_IF ( [ test "x$ENABLED_ED25519" = "xyes"] ,
88418827 [ AM_CCASFLAGS="$AM_CCASFLAGS -DHAVE_ED25519"] )
88428828
88438829AS_IF ( [ test "x$ENABLED_ED25519_SMALL" = "xyes"] ,
0 commit comments