Skip to content

Commit 71ab9fa

Browse files
committedAug 25, 2016
all: fix assembly vet issues
Add missing function prototypes. Fix function prototypes. Use FP references instead of SP references. Fix variable names. Update comments. Clean up whitespace. (Not for vet.) All fairly minor fixes to make vet happy. Updates #11041 Change-Id: Ifab2cdf235ff61cdc226ab1d84b8467b5ac9446c Reviewed-on: https://go-review.googlesource.com/27713 Run-TryBot: Josh Bleecher Snyder <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 6af7639 commit 71ab9fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+361
-356
lines changed
 

‎src/crypto/rc4/rc4_arm.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ TEXT ·xorKeyStream(SB),NOSPLIT,$0
2525
MOVW src+4(FP), Rsrc
2626
MOVW n+8(FP), Rn
2727
MOVW state+12(FP), Rstate
28-
MOVW pi+16(FP), Rpi
29-
MOVW pj+20(FP), Rpj
28+
MOVW i+16(FP), Rpi
29+
MOVW j+20(FP), Rpj
3030
MOVBU (Rpi), Ri
3131
MOVBU (Rpj), Rj
3232
MOVW $0, Rk

‎src/crypto/sha256/sha256block_386.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
MSGSCHEDULE1(index); \
142142
SHA256ROUND(index, const, a, b, c, d, e, f, g, h)
143143

144-
TEXT ·block(SB),0,$296-12
144+
TEXT ·block(SB),0,$296-16
145145
MOVL p_base+4(FP), SI
146146
MOVL p_len+8(FP), DX
147147
SHRL $6, DX

0 commit comments

Comments
 (0)
Please sign in to comment.