RAW hash function APIs not supported with ARMv8 build

This commit is contained in:
Jacob Barthelmeh 2018-06-12 16:45:38 -06:00
parent af7b676405
commit 9dc560dd01
2 changed files with 6 additions and 1 deletions

View File

@ -883,7 +883,7 @@ AC_ARG_ENABLE([armasm],
)
if test "$ENABLED_ARMASM" = "yes" && test "$ENABLED_ASM" = "yes"
then
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ARMASM"
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ARMASM -DWOLFSSL_NO_HASH_RAW"
#Check if mcpu and mfpu values already set if not use default
case $CPPFLAGS in
*mcpu* | *mfpu*)

View File

@ -1678,6 +1678,11 @@ extern void uITRON4_free(void *p) ;
#define KEEP_PEER_CERT
#endif
/* RAW hash function APIs are not implemented with ARMv8 hardware acceleration*/
#ifdef WOLFSSL_ARMASM
#undef WOLFSSL_NO_HASH_RAW
#define WOLFSSL_NO_HASH_RAW
#endif
#ifdef __cplusplus
} /* extern "C" */