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
commitffa49cfcc71c84fb877cf150d758ca8420dcb2d2 (patch)
tree7189f82b04c78fde1c13c21aaa10de0acd6432a3 /src/lib/libcrypto/modes/asm
parent1d8e5453558fbe5e97fd1becfef826a261de138b (diff)
downloadopenbsd-ffa49cfcc71c84fb877cf150d758ca8420dcb2d2.tar.gz
openbsd-ffa49cfcc71c84fb877cf150d758ca8420dcb2d2.tar.bz2
openbsd-ffa49cfcc71c84fb877cf150d758ca8420dcb2d2.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