Added "WOLFSSL_ARMASM" ifdef checks on ARMv8 port files.

This commit is contained in:
David Garske
2020-03-25 12:54:40 -07:00
parent 5c424769a0
commit 70773f3b3e
3 changed files with 13 additions and 1 deletions

View File

@@ -30,6 +30,8 @@
#endif
#include <wolfssl/wolfcrypt/settings.h>
#ifdef WOLFSSL_ARMASM
#include <wolfssl/wolfcrypt/fe_operations.h>
#include <stdint.h>
@@ -6719,4 +6721,5 @@ void fe_ge_sub(fe rx, fe ry, fe rz, fe rt, const fe px, const fe py, const fe pz
(void)qyminusx;
}
#endif /* WOLFSSL_ARMASM */
#endif /* __aarch64__ */

View File

@@ -25,6 +25,14 @@
*/
#ifdef __aarch64__
#include <stdint.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <wolfssl/wolfcrypt/settings.h>
#ifdef WOLFSSL_ARMASM
#include <wolfssl/wolfcrypt/sha512.h>
static const uint64_t L_SHA512_transform_neon_len_k[] = {
@@ -1029,4 +1037,5 @@ void Transform_Sha512_Len(wc_Sha512* sha512, const byte* data, word32 len)
);
}
#endif /* WOLFSSL_ARMASM */
#endif /* __aarch64__ */