diff options
| author | Eric Lagergren <eric@ericlagergren.com> | 2022-04-10 23:38:23 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-10-28 15:09:37 +0000 |
| commit | 9f8bf040570efecf252110e95d3d66067925b3ea (patch) | |
| tree | 4bd2c55116267611a35e78021e385b5294190ac0 /src/crypto | |
| parent | e738f06a12cf00b0333462bef0057d611ff42fee (diff) | |
| download | go-9f8bf040570efecf252110e95d3d66067925b3ea.tar.xz | |
crypto/aes: fix key size typo
AES-196 does not exist, but AES-192 does.
Change-Id: Iecdcae28fde807d148af9d09c7291fc02c9f6edd
Reviewed-on: https://go-review.googlesource.com/c/go/+/399495
Reviewed-by: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'src/crypto')
| -rw-r--r-- | src/crypto/aes/asm_arm64.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crypto/aes/asm_arm64.s b/src/crypto/aes/asm_arm64.s index 2bf5bee2b5..192d0df896 100644 --- a/src/crypto/aes/asm_arm64.s +++ b/src/crypto/aes/asm_arm64.s @@ -22,14 +22,14 @@ TEXT ·encryptBlockAsm(SB),NOSPLIT,$0 CMP $12, R9 BLT enc128 - BEQ enc196 + BEQ enc192 enc256: VLD1.P 32(R10), [V1.B16, V2.B16] AESE V1.B16, V0.B16 AESMC V0.B16, V0.B16 AESE V2.B16, V0.B16 AESMC V0.B16, V0.B16 -enc196: +enc192: VLD1.P 32(R10), [V3.B16, V4.B16] AESE V3.B16, V0.B16 AESMC V0.B16, V0.B16 @@ -73,14 +73,14 @@ TEXT ·decryptBlockAsm(SB),NOSPLIT,$0 CMP $12, R9 BLT dec128 - BEQ dec196 + BEQ dec192 dec256: VLD1.P 32(R10), [V1.B16, V2.B16] AESD V1.B16, V0.B16 AESIMC V0.B16, V0.B16 AESD V2.B16, V0.B16 AESIMC V0.B16, V0.B16 -dec196: +dec192: VLD1.P 32(R10), [V3.B16, V4.B16] AESD V3.B16, V0.B16 AESIMC V0.B16, V0.B16 |
