]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/cryptotest: add tests for the cipher.Block interface
authorManuel Sabin <msabin27@gmail.com>
Wed, 19 Jun 2024 16:49:32 +0000 (12:49 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 31 Jul 2024 15:43:13 +0000 (15:43 +0000)
commit650abbc0b03c3000fa1a068466eb104bef88b54d
treecca976ec47d7076cd64118062dd4146f0c87ce3d
parentb53809d75dced5729f30d247d8694bfc2940da18
crypto/internal/cryptotest: add tests for the cipher.Block interface

This CL creates tests for the cipher.Block interface in the cryptotest
package.  This set of tests is called from the tests of implementation
of the Block interface e.g. aes_test.go and des_test.go.

Updates #25309

Change-Id: Ieea3752147c8163fc73a849cfcb8fa011205d2c2
Reviewed-on: https://go-review.googlesource.com/c/go/+/594018
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Russell Webb <russell.webb@protonmail.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/crypto/aes/aes_test.go
src/crypto/des/des_test.go
src/crypto/internal/cryptotest/block.go [new file with mode: 0644]