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>
This commit is contained in:
Eric Lagergren 2022-04-10 23:38:23 -07:00 committed by Gopher Robot
parent e738f06a12
commit 9f8bf04057
1 changed files with 4 additions and 4 deletions

View File

@ -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