// 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
)
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,
}
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,