summaryrefslogtreecommitdiff
path: root/crypto/poly1305
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-02-23 11:41:55 -0500
committerAndy Polyakov <appro@openssl.org>2016-03-02 12:57:28 +0100
commitbdbd3aea590e45d52c7b120ea6eaff38295b5011 (patch)
tree70fa79f287cb3d6913fa3d55d44af02681eca96f /crypto/poly1305
parent359aa38fbeecd920a60c739c64cda06fe295684f (diff)
downloadopenssl-new-bdbd3aea590e45d52c7b120ea6eaff38295b5011.tar.gz
Consistently use arm_arch.h constants in armcap assembly code.
Most of the assembly uses constants from arm_arch.h, but a few references to ARMV7_NEON don't. Consistently use the macros everywhere. Signed-off-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/poly1305')
-rwxr-xr-xcrypto/poly1305/asm/poly1305-armv4.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/poly1305/asm/poly1305-armv4.pl b/crypto/poly1305/asm/poly1305-armv4.pl
index 65b79cf124..86a6070bf4 100755
--- a/crypto/poly1305/asm/poly1305-armv4.pl
+++ b/crypto/poly1305/asm/poly1305-armv4.pl
@@ -108,7 +108,7 @@ poly1305_init:
and r5,r5,r3
#if __ARM_MAX_ARCH__>=7
- tst r12,#1 @ check for NEON
+ tst r12,#ARMV7_NEON @ check for NEON
# ifdef __APPLE__
adr r9,poly1305_blocks_neon
adr r11,poly1305_blocks