f62085100e1abe3d5c9b3b8c9a38d50b71323f64
The assembly implementations of ladderstep and mul contain register save prologues that are unnecessary in Go because there are no callee save registers in the Go ABI. Remove these prologues, update all SP offsets, and reduce the frame size accordingly. The SP offsets were updated with: python -c 'import sys, re; sys.stdout.write(re.sub(r"(\d+)\(SP\)", lambda m: "%d(SP)" % (int(m.group(1))-YYY), sys.stdin.read()))' where YYY was 64 for mul_amd64.s and 56 for ladderstep_amd64.s. Change-Id: I728948809f479b1c061cc65167dadad651efab31 Reviewed-on: https://go-review.googlesource.com/31580 Reviewed-by: Adam Langley <agl@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
This repository holds supplementary Go cryptography libraries. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
8.1 MiB
Languages
Go
88.6%
Assembly
11.1%
C
0.3%