summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/block/ecb_aes_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/block/ecb_aes_test.go')
-rw-r--r--src/pkg/crypto/block/ecb_aes_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/crypto/block/ecb_aes_test.go b/src/pkg/crypto/block/ecb_aes_test.go
index db0e085fa..14481d096 100644
--- a/src/pkg/crypto/block/ecb_aes_test.go
+++ b/src/pkg/crypto/block/ecb_aes_test.go
@@ -47,7 +47,7 @@ var commonIV = []byte{0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09
var ecbAESTests = []ecbTest{
// FIPS 197, Appendix B, C
- ecbTest{
+ {
"FIPS-197 Appendix B",
commonKey128,
[]byte{0x32, 0x43, 0xf6, 0xa8, 0x88, 0x5a, 0x30, 0x8d, 0x31, 0x31, 0x98, 0xa2, 0xe0, 0x37, 0x07, 0x34},
@@ -55,7 +55,7 @@ var ecbAESTests = []ecbTest{
},
// NIST SP 800-38A pp 24-27
- ecbTest{
+ {
"ECB-AES128",
commonKey128,
commonInput,
@@ -66,7 +66,7 @@ var ecbAESTests = []ecbTest{
0x7b, 0x0c, 0x78, 0x5e, 0x27, 0xe8, 0xad, 0x3f, 0x82, 0x23, 0x20, 0x71, 0x04, 0x72, 0x5d, 0xd4,
},
},
- ecbTest{
+ {
"ECB-AES192",
commonKey192,
commonInput,
@@ -77,7 +77,7 @@ var ecbAESTests = []ecbTest{
0x9a, 0x4b, 0x41, 0xba, 0x73, 0x8d, 0x6c, 0x72, 0xfb, 0x16, 0x69, 0x16, 0x03, 0xc1, 0x8e, 0x0e,
},
},
- ecbTest{
+ {
"ECB-AES256",
commonKey256,
commonInput,