X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgogost%2Fgost28147%2Fctr_test.go;h=73a96aec95e35ff897eb722538a7da5ef85cf620;hb=bfe87fc2ae85dce7cf14b0e03603544eafa7d130;hp=0395338b9f95ba4d4558719a7243a6857fc37e62;hpb=a32e80313a4374abe764a12d85cb87043232ca4e;p=gogost.git diff --git a/src/cypherpunks.ru/gogost/gost28147/ctr_test.go b/src/cypherpunks.ru/gogost/gost28147/ctr_test.go index 0395338..73a96ae 100644 --- a/src/cypherpunks.ru/gogost/gost28147/ctr_test.go +++ b/src/cypherpunks.ru/gogost/gost28147/ctr_test.go @@ -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,