]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips140/aes: handle fallback correctly, take 2
authorKeith Randall <khr@golang.org>
Fri, 22 Nov 2024 21:37:26 +0000 (13:37 -0800)
committerKeith Randall <khr@golang.org>
Sat, 23 Nov 2024 00:23:59 +0000 (00:23 +0000)
commit8397de2241ca71ba5df2fa60564a8559b9a2d25d
tree01ec200b9bfbd129389674702beb89d6d953d11c
parent8fb6a469472b3d79798da0b3f84b9579fae18ec3
crypto/internal/fips140/aes: handle fallback correctly, take 2

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

Missed one case of this in CL 631315.

(Originally broken on CL 624738.)

Change-Id: I5bf485ac8b0007769e4e935794defe2a3592376e
Reviewed-on: https://go-review.googlesource.com/c/go/+/631136
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/internal/fips140/aes/ctr_s390x.go