summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/modes/asm
diff options
context:
space:
mode:
authorkettenis <>2018-01-24 23:03:37 +0000
committerkettenis <>2018-01-24 23:03:37 +0000
commita05ff6d34d2de9471a4dd5deb311ef4002420640 (patch)
tree7189f82b04c78fde1c13c21aaa10de0acd6432a3 /src/lib/libcrypto/modes/asm
parent7b598d168b4b7261d744aa319463a5420a3f6d1b (diff)
downloadopenbsd-a05ff6d34d2de9471a4dd5deb311ef4002420640.tar.gz
openbsd-a05ff6d34d2de9471a4dd5deb311ef4002420640.tar.bz2
openbsd-a05ff6d34d2de9471a4dd5deb311ef4002420640.zip
Make the NEON codepaths conditional on __STRICT_ALIGNMENT not being
defined as they rely on unaligned access. ok joel@
Diffstat (limited to 'src/lib/libcrypto/modes/asm')
-rw-r--r--src/lib/libcrypto/modes/asm/ghash-armv4.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/modes/asm/ghash-armv4.pl b/src/lib/libcrypto/modes/asm/ghash-armv4.pl
index 4f8372d897..2d57806b46 100644
--- a/src/lib/libcrypto/modes/asm/ghash-armv4.pl
+++ b/src/lib/libcrypto/modes/asm/ghash-armv4.pl
@@ -319,7 +319,7 @@ sub Dhi() { shift=~m|q([1]?[0-9])|?"d".($1*2+1):""; }
319sub Q() { shift=~m|d([1-3]?[02468])|?"q".($1/2):""; } 319sub Q() { shift=~m|d([1-3]?[02468])|?"q".($1/2):""; }
320 320
321$code.=<<___; 321$code.=<<___;
322#if __ARM_ARCH__>=7 322#if __ARM_ARCH__>=7 && !defined(__STRICT_ALIGNMENT)
323.fpu neon 323.fpu neon
324 324
325.global gcm_gmult_neon 325.global gcm_gmult_neon