crypto/poly1305
Adam Langley 1150b8bd09 poly1305: don't move R13 in sum_arm.s.
Rather than change the value of R13 during the execution, keep R13 fixed
(after the initial prelude) and always use offsets from it.

This should help the runtime figure out what's going on if, say, a
signal should occur while running this code.

I've also trimmed the set of saved registers since Go doesn't require
the callee to maintain anything except R10 and R13.

Change-Id: Ifbeca73c1d964cc43bb7f8c20c61066f22fd562d
Reviewed-on: https://go-review.googlesource.com/31717
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2016-10-24 22:35:48 +00:00
..
poly1305.go crypto: add import comments. 2014-12-09 23:26:36 +00:00
poly1305_test.go poly1305: add test for carry edge-case. 2016-10-04 21:33:40 +00:00
sum_amd64.go poly1305: enable assembly for ARM in Go 1.6. 2016-10-20 16:32:05 +00:00
sum_amd64.s poly1305: enable assembly for ARM in Go 1.6. 2016-10-20 16:32:05 +00:00
sum_arm.go poly1305: rename files to sum_𝑥.s 2016-10-11 21:55:02 +00:00
sum_arm.s poly1305: don't move R13 in sum_arm.s. 2016-10-24 22:35:48 +00:00
sum_ref.go poly1305: enable assembly for ARM in Go 1.6. 2016-10-20 16:32:05 +00:00