cipher: Take care of ENABLE_NEON_SUPPORT.
authorWerner Koch <wk@gnupg.org>
Tue, 28 Jan 2014 16:00:27 +0000 (17:00 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 28 Jan 2014 16:00:27 +0000 (17:00 +0100)
commit52f7c48c901a3de51bd690a218f3de2f71e8d790
tree90f3b1614eaf9dba212163e48abf577dc49479c4
parentcbdc355415f83ed62da4f3618767eba54d7e6d37
cipher: Take care of ENABLE_NEON_SUPPORT.

* cipher/salsa20.c (USE_ARM_NEON_ASM): Define only if
ENABLE_NEON_SUPPORT is defined.
* cipher/serpent.c (USE_NEON): Ditto.
* cipher/sha1.c (USE_NEON): Ditto.
* cipher/sha512.c (USE_ARM_NEON_ASM): Ditto.
--

The generic C source files must only include NEON support if that is
enabled.  The dedicated ASM files are conditionally compiled and thus
do not need to use it.

GnuPG-bug-id: 1603
Signed-off-by: Werner Koch <wk@gnupg.org>
cipher/salsa20.c
cipher/serpent.c
cipher/sha1.c
cipher/sha512.c