Merge pull request #2442 from JacobBarthelmeh/HardwareAcc

build fix for aesccm + devcrypto=cbc + wpas and afalg
This commit is contained in:
toddouska
2019-09-03 15:42:41 -07:00
committed by GitHub
2 changed files with 9 additions and 13 deletions

View File

@@ -1046,6 +1046,10 @@ AC_ARG_ENABLE([afalg],
if test "$ENABLED_AFALG" = "yes"
then
if test "$ENABLED_AESCCM" = "yes"
then
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AES_DIRECT"
fi
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AFALG"
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AFALG_HASH"
fi