File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 6666 uses : ./.github/workflows/build-workflow.yml
6767 with :
6868 config : --disable-sha224
69+ no_sha3 :
70+ uses : ./.github/workflows/build-workflow.yml
71+ with :
72+ config : --disable-sha3
6973 no_sha1 :
7074 uses : ./.github/workflows/build-workflow.yml
7175 with :
Original file line number Diff line number Diff line change @@ -409,6 +409,18 @@ else
409409 DISABLE_DEFS="$DISABLE_DEFS -DWOLFSSL_SHA512"
410410fi
411411
412+ AC_ARG_ENABLE ( [ sha3] ,
413+ [ AS_HELP_STRING ( [ --enable-sha3] ,[ Enable SHA-3 (default: enabled)] ) ] ,
414+ [ ENABLED_SHA3=$enableval ] ,
415+ [ ENABLED_SHA3=yes ]
416+ )
417+ if test "$ENABLED_SHA3" = "yes"
418+ then
419+ AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHA3"
420+ else
421+ DISABLE_DEFS="$DISABLE_DEFS -DWOLFSSL_SHA3"
422+ fi
423+
412424if test "$enable_shared" = "no"; then
413425 AM_CFLAGS="$AM_CFLAGS -DHAVE_PKCS11_STATIC"
414426else
@@ -613,6 +625,7 @@ echo " * SHA-224: $ENABLED_SHA224"
613625echo " * SHA-256: $ENABLED_SHA256"
614626echo " * SHA-384: $ENABLED_SHA384"
615627echo " * SHA-512: $ENABLED_SHA512"
628+ echo " * SHA-3: $ENABLED_SHA3"
616629echo " * HMAC: $ENABLED_HMAC"
617630echo " * RSA: $ENABLED_RSA"
618631echo " * RSA-OAEP: $ENABLED_RSAOAEP"
You can’t perform that action at this time.
0 commit comments