aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2023-03-23 14:18:19 -0400
committerMichael Pratt <mpratt@google.com>2023-03-23 20:52:57 +0000
commitb0dfcb74651b82123746273bbf6bb9988cd96e18 (patch)
tree738c8a064cb8d614bd75fbb502b04e08b5dcb615 /src/crypto
parent7b887158825720134181b6fe403066eee0cccee3 (diff)
downloadgo-b0dfcb74651b82123746273bbf6bb9988cd96e18.tar.xz
all: replace leading spaces with tabs in assembly
Most of these are one-off mistakes. Only one file was all spaces. Change-Id: I277c3ce4a4811aa4248c90676f66bc775ae8d062 Reviewed-on: https://go-review.googlesource.com/c/go/+/478976 Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/aes/asm_arm64.s2
-rw-r--r--src/crypto/aes/gcm_arm64.s2
-rw-r--r--src/crypto/internal/nistec/p256_asm_ppc64le.s2
-rw-r--r--src/crypto/sha1/sha1block_amd64.s2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/crypto/aes/asm_arm64.s b/src/crypto/aes/asm_arm64.s
index 13aee5ca29..4a02e943ce 100644
--- a/src/crypto/aes/asm_arm64.s
+++ b/src/crypto/aes/asm_arm64.s
@@ -149,7 +149,7 @@ ks128Loop:
BNE ks128Loop
CBZ R11, ksDone // If dec is nil we are done
SUB $176, R10
- // Decryption keys are encryption keys with InverseMixColumns applied
+ // Decryption keys are encryption keys with InverseMixColumns applied
VLD1.P 64(R10), [V0.B16, V1.B16, V2.B16, V3.B16]
VMOV V0.B16, V7.B16
AESIMC V1.B16, V6.B16
diff --git a/src/crypto/aes/gcm_arm64.s b/src/crypto/aes/gcm_arm64.s
index 61c868cd0c..c3501024c9 100644
--- a/src/crypto/aes/gcm_arm64.s
+++ b/src/crypto/aes/gcm_arm64.s
@@ -164,7 +164,7 @@ initEncFinish:
AESE T0.B16, B0.B16
AESMC B0.B16, B0.B16
AESE T1.B16, B0.B16
- VEOR T2.B16, B0.B16, B0.B16
+ VEOR T2.B16, B0.B16, B0.B16
VREV64 B0.B16, B0.B16
diff --git a/src/crypto/internal/nistec/p256_asm_ppc64le.s b/src/crypto/internal/nistec/p256_asm_ppc64le.s
index 0593ef370f..6b787609b9 100644
--- a/src/crypto/internal/nistec/p256_asm_ppc64le.s
+++ b/src/crypto/internal/nistec/p256_asm_ppc64le.s
@@ -1208,7 +1208,7 @@ sqrLoop:
BR sqrLoop
done:
- MOVD $p256mul<>+0x00(SB), CPOOL
+ MOVD $p256mul<>+0x00(SB), CPOOL
XXPERMDI T0, T0, $2, T0
XXPERMDI T1, T1, $2, T1
diff --git a/src/crypto/sha1/sha1block_amd64.s b/src/crypto/sha1/sha1block_amd64.s
index 42f03fb268..9bdf24cf49 100644
--- a/src/crypto/sha1/sha1block_amd64.s
+++ b/src/crypto/sha1/sha1block_amd64.s
@@ -518,7 +518,7 @@ end:
#define CALC_F2_POST(REG_A,REG_B,REG_C,REG_E) \
XORL REG_B, REG_A \
ADDL R12, REG_E \
- XORL REG_C, REG_A
+ XORL REG_C, REG_A
#define CALC_19 \
CALC_F2_PRE(0x8c,DX,CX,AX) \