]> Cypherpunks repositories - gostls13.git/commit
crypto/aes: move ppc64le to cipher_asm.go
authorPaul E. Murphy <murp@ibm.com>
Thu, 24 Mar 2022 17:47:23 +0000 (12:47 -0500)
committerPaul Murphy <murp@ibm.com>
Thu, 5 May 2022 20:23:07 +0000 (20:23 +0000)
commit6269dc29a04c4f430a851551d85aa956fb10cc94
treebf7fc5ce13323d2c872b20a7797ebcf32f5ebda3
parentfa603aaa4e7ac460aee2e2de509842b89152a418
crypto/aes: move ppc64le to cipher_asm.go

Move the aesCipherGCM struct definition into cipher_asm.go, it is
needed to compile this file, but isn't used on PPC64.

Also, generate a KeySizeError if the key length is not supported
as was done in the ppc64le implementation, and is done in the
generic code.

Change-Id: I025fc63d614b57dac65a18d1ac3dbeec99356292
Reviewed-on: https://go-review.googlesource.com/c/go/+/399254
Reviewed-by: Filippo Valsorda <valsorda@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Paul Murphy <murp@ibm.com>
src/crypto/aes/aes_gcm.go
src/crypto/aes/cipher_asm.go
src/crypto/aes/cipher_ppc64le.go [deleted file]