]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/cryptotest: add tests for the cipher.AEAD interface
authorManuel Sabin <msabin27@gmail.com>
Mon, 1 Jul 2024 14:49:11 +0000 (10:49 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 21 Aug 2024 20:24:47 +0000 (20:24 +0000)
commit31a9c139419dadf35df1b162115da69a0b4cb917
tree81c6a3b983ea34e8ccceb807a6fb18c0be2786c2
parent0d5605832c02d57211b1b3ab53b6fab3b9dd3a2d
crypto/internal/cryptotest: add tests for the cipher.AEAD interface

This CL creates tests for the cipher.AEAD interface in the new
cryptotest package.  This set of tests is called from the tests of
implementations of the AEAD interface, such as the GCM blockmode.

Updates #25309

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