1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

Compile only the NEON version of AEGIS256 on relevant platforms

This commit is contained in:
Frank Denis 2019-10-12 02:18:36 +02:00
parent c638d25583
commit 6abc6c292a

View File

@ -4,7 +4,6 @@
#if defined(__ARM_NEON_FP) || defined(__aarch64__)
# include <arm_neon.h>
#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