From 6abc6c292abbbbac1251018ba1961fd32377c508 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 12 Oct 2019 02:18:36 +0200 Subject: [PATCH] Compile only the NEON version of AEGIS256 on relevant platforms --- .../crypto_aead/aegis256/arm-crypto/aead_aegis256_armcrypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_aead/aegis256/arm-crypto/aead_aegis256_armcrypto.c b/src/libsodium/crypto_aead/aegis256/arm-crypto/aead_aegis256_armcrypto.c index 5748f8dd..c61d5ce8 100644 --- a/src/libsodium/crypto_aead/aegis256/arm-crypto/aead_aegis256_armcrypto.c +++ b/src/libsodium/crypto_aead/aegis256/arm-crypto/aead_aegis256_armcrypto.c @@ -4,7 +4,6 @@ #if defined(__ARM_NEON_FP) || defined(__aarch64__) # include -#endif static inline void crypto_aead_aegis256_update(uint8x16_t *const state, const uint8x16_t data) @@ -268,3 +267,4 @@ crypto_aead_aegis256_decrypt(unsigned char *m, unsigned long long *mlen_p, unsig } return ret; } +#endif