From b0dfcb74651b82123746273bbf6bb9988cd96e18 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Thu, 23 Mar 2023 14:18:19 -0400 Subject: 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 TryBot-Result: Gopher Robot Reviewed-by: Cherry Mui --- src/crypto/aes/asm_arm64.s | 2 +- src/crypto/aes/gcm_arm64.s | 2 +- src/crypto/internal/nistec/p256_asm_ppc64le.s | 2 +- src/crypto/sha1/sha1block_amd64.s | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/crypto') 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) \ -- cgit v1.3