]> 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 0395338b9f95ba4d4558719a7243a6857fc37e62..73a96aec95e35ff897eb722538a7da5ef85cf620 100644 (file)
@@ -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,