Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-04-18 22:07:41 +0300
committerAdam Langley <agl@google.com>2015-05-05 03:24:59 +0300
commit041e4dd5e240b635f339b864c4f5bfa164d06246 (patch)
tree72f427c339cd639dec6e1d8f494faec7609a39d3 /crypto/poly1305
parentf7535aed7d8c8127ca21e9444af98a9d00474d74 (diff)
Fix ARM Clang build.
The immediate in this operation is too large for ARM. GCC will automatically rewrite it to use bic (where bic does an AND NOT). Clang, however doesn't, and reasonably throws an error. This change switches to using bic in the source file, thus making both happy. Change-Id: I958fa29b88bffeab20c6ee11660736222a2e6986 Reviewed-on: https://boringssl-review.googlesource.com/4410 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/poly1305')
-rw-r--r--crypto/poly1305/poly1305_arm_asm.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/poly1305/poly1305_arm_asm.S b/crypto/poly1305/poly1305_arm_asm.S
index 9d874136..e16f83bd 100644
--- a/crypto/poly1305/poly1305_arm_asm.S
+++ b/crypto/poly1305/poly1305_arm_asm.S
@@ -160,7 +160,7 @@ openssl_poly1305_neon2_blocks:
vpush {q4,q5,q6,q7}
mov r12,sp
sub sp,sp,#192
-and sp,sp,#0xffffffe0
+bic sp,sp,#31
# qhasm: len = input_3
# asm 1: mov >len=int32#4,<input_3=int32#4