forked from wolfSSL/wolfssl
Merge pull request #1619 from JacobBarthelmeh/HardwareAcc
RAW hash function APIs not supported with ARMv8 build
This commit is contained in:
@ -883,7 +883,7 @@ AC_ARG_ENABLE([armasm],
|
|||||||
)
|
)
|
||||||
if test "$ENABLED_ARMASM" = "yes" && test "$ENABLED_ASM" = "yes"
|
if test "$ENABLED_ARMASM" = "yes" && test "$ENABLED_ASM" = "yes"
|
||||||
then
|
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
|
#Check if mcpu and mfpu values already set if not use default
|
||||||
case $CPPFLAGS in
|
case $CPPFLAGS in
|
||||||
*mcpu* | *mfpu*)
|
*mcpu* | *mfpu*)
|
||||||
|
@ -1678,6 +1678,11 @@ extern void uITRON4_free(void *p) ;
|
|||||||
#define KEEP_PEER_CERT
|
#define KEEP_PEER_CERT
|
||||||
#endif
|
#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
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
Reference in New Issue
Block a user