]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/cryptotest: add tests for the cipher.BlockMode interface
authorManuel Sabin <msabin27@gmail.com>
Mon, 24 Jun 2024 17:58:35 +0000 (13:58 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 31 Jul 2024 23:30:25 +0000 (23:30 +0000)
commit4b2716348cfcc336469d38ce9a8e23f0b909ab05
tree20f774e01b343725a4128c646d2fe4c1333ed992
parentfa861f882205516624ad123346ff3e6f0c44ac9c
crypto/internal/cryptotest: add tests for the cipher.BlockMode interface

This CL creates tests for the cipher.BlockMode interface in the new
cryptotest package.  This set of tests is called from the tests of
implementations of the BlockMode interface e.g. cbc_test.go

Updates #25309

Change-Id: I3685bbee24d08d66f5bb4b7f001cbf520c844881
Reviewed-on: https://go-review.googlesource.com/c/go/+/595120
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Russell Webb <russell.webb@protonmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/crypto/cipher/cbc_test.go [new file with mode: 0644]
src/crypto/internal/cryptotest/blockmode.go [new file with mode: 0644]