]> Cypherpunks.ru repositories - gogost.git/blobdiff - src/cypherpunks.ru/gogost/gost28147/ctr_test.go
Sbox names comply with OIDs
[gogost.git] / src / cypherpunks.ru / gogost / gost28147 / ctr_test.go
index 4ddc31046c1e45a6409d648619150b14f2599d64..73a96aec95e35ff897eb722538a7da5ef85cf620 100644 (file)
@@ -1,5 +1,5 @@
 // GoGOST -- Pure Go GOST cryptographic functions library
-// Copyright (C) 2015-2017 Sergey Matveev <stargrave@stargrave.org>
+// Copyright (C) 2015-2019 Sergey Matveev <stargrave@stargrave.org>
 //
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@ import (
 )
 
 func TestCTRGCL3Vector(t *testing.T) {
-       sbox := &Gost2814789_TestParamSet
+       sbox := &SboxIdGost2814789TestParamSet
        key := [KeySize]byte{
                0x04, 0x75, 0xf6, 0xe0, 0x50, 0x38, 0xfb, 0xfa,
                0xd2, 0xc7, 0xc3, 0x90, 0xed, 0xb3, 0xca, 0x3d,
@@ -116,7 +116,7 @@ func TestCTRGCL3Vector(t *testing.T) {
 }
 
 func TestCTRGCL2Vector(t *testing.T) {
-       sbox := &Gost2814789_TestParamSet
+       sbox := &SboxIdGost2814789TestParamSet
        key := [KeySize]byte{
                0xfc, 0x7a, 0xd2, 0x88, 0x6f, 0x45, 0x5b, 0x50,
                0xd2, 0x90, 0x08, 0xfa, 0x62, 0x2b, 0x57, 0xd5,