]> Cypherpunks repositories - gostls13.git/commit
crypto/aes: delete TestEncryptBlock and TestDecryptBlock
authorMichael Munday <munday@ca.ibm.com>
Fri, 15 Apr 2016 19:20:24 +0000 (15:20 -0400)
committerMichael Munday <munday@ca.ibm.com>
Tue, 19 Apr 2016 17:24:10 +0000 (17:24 +0000)
commita39950ba66998b7166a37ddf878d0a414a267ea5
tree67b3296be35cb1dd73aaef4658251c7e50081fde
parent3e9264c9ae781a2cd28127deaed6ae26f84b4b15
crypto/aes: delete TestEncryptBlock and TestDecryptBlock

The encryptBlock and decryptBlock functions are already tested
(via the public API) by TestCipherEncrypt and TestCipherDecrypt
respectively. Both sets of tests check the output of the two
functions against the same set of FIPS 197 examples. I therefore
think it is safe to delete these two tests without losing any
coverage.

Deleting these two tests will make it easier to modify the
internal API, which I am hoping to do in future CLs.

Change-Id: I0dd568bc19f47b70ab09699b507833e527d39ba7
Reviewed-on: https://go-review.googlesource.com/22115
Reviewed-by: Adam Langley <agl@golang.org>
Run-TryBot: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/crypto/aes/aes_test.go