]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips140/aes: handle fallback correctly
authorKeith Randall <khr@golang.org>
Fri, 22 Nov 2024 18:48:45 +0000 (10:48 -0800)
committerGopher Robot <gobot@golang.org>
Fri, 22 Nov 2024 21:04:53 +0000 (21:04 +0000)
commit043708eb08652cfefe9972bcfbf94464a3566920
tree53ece31f23a2ab854e5ba533da3c9ed0d1fb2036
parent7f049eac1b9378ecc4dddd43ebedeae0916c0606
crypto/internal/fips140/aes: handle fallback correctly

Don't fallthrough to the hardware version if we used the generic version.

This might fix the s390x build on the dashboard.

(Originally broken on CL 624738.)

Change-Id: Idad1f1973a34fc64550ecf0d012651f62bcd6272
Reviewed-on: https://go-review.googlesource.com/c/go/+/631315
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Keith Randall <khr@golang.org>
src/crypto/internal/fips140/aes/cbc_s390x.go