]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips140/aes: actually use the VTBL instruction on arm64
authorJoel Sing <joel@sing.id.au>
Sat, 19 Apr 2025 05:57:37 +0000 (15:57 +1000)
committerJoel Sing <joel@sing.id.au>
Sun, 20 Apr 2025 09:15:23 +0000 (02:15 -0700)
commitc893e1cf821b06aa0602f7944ce52f0eb28fd7b5
treea83ccbc0072dd01d1dda1ac467639a518e3d2c86
parenta204ed53d907c3b325e3c2bdd6f847a8f97e90d9
crypto/internal/fips140/aes: actually use the VTBL instruction on arm64

Support for the VTBL instruction was added in CL 110015 - use it
directly, rather than using WORD encodings. Note that one of the
WORD encodings does not actually match the instruction in the
comment - use the instruction that matches the existing encoding
instead.

Change-Id: I1933162f8144a6b86b38e8b550d36907131b1dd4
Reviewed-on: https://go-review.googlesource.com/c/go/+/666795
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/crypto/internal/fips140/aes/aes_arm64.s