go.mod | 5 +++++ src/cypherpunks.ru/gogost/cmd/streebog256/main.go => cmd/streebog256/main.go | 4 ++-- src/cypherpunks.ru/gogost/cmd/streebog512/main.go => cmd/streebog512/main.go | 4 ++-- src/cypherpunks.ru/gogost/go.mod | 5 ----- src/cypherpunks.ru/gogost/go.sum => go.sum | 4 ++-- src/cypherpunks.ru/gogost/gogost.go => gogost.go | 0 src/cypherpunks.ru/gogost/gost28147/cbc_test.go => gost28147/cbc_test.go | 0 src/cypherpunks.ru/gogost/gost28147/cfb.go => gost28147/cfb.go | 0 src/cypherpunks.ru/gogost/gost28147/cfb_test.go => gost28147/cfb_test.go | 0 src/cypherpunks.ru/gogost/gost28147/cipher.go => gost28147/cipher.go | 0 src/cypherpunks.ru/gogost/gost28147/cipher_test.go => gost28147/cipher_test.go | 0 src/cypherpunks.ru/gogost/gost28147/ctr.go => gost28147/ctr.go | 0 src/cypherpunks.ru/gogost/gost28147/ctr_test.go => gost28147/ctr_test.go | 0 src/cypherpunks.ru/gogost/gost28147/ecb.go => gost28147/ecb.go | 0 src/cypherpunks.ru/gogost/gost28147/ecb_test.go => gost28147/ecb_test.go | 0 src/cypherpunks.ru/gogost/gost28147/mac.go => gost28147/mac.go | 0 src/cypherpunks.ru/gogost/gost28147/mac_test.go => gost28147/mac_test.go | 0 src/cypherpunks.ru/gogost/gost28147/sbox.go => gost28147/sbox.go | 0 src/cypherpunks.ru/gogost/gost3410/2001_test.go => gost3410/2001_test.go | 0 src/cypherpunks.ru/gogost/gost3410/2012_test.go => gost3410/2012_test.go | 0 src/cypherpunks.ru/gogost/gost3410/curve.go => gost3410/curve.go | 0 src/cypherpunks.ru/gogost/gost3410/doc.go => gost3410/doc.go | 0 src/cypherpunks.ru/gogost/gost3410/edwards.go => gost3410/edwards.go | 0 src/cypherpunks.ru/gogost/gost3410/params.go => gost3410/params.go | 0 src/cypherpunks.ru/gogost/gost3410/private.go => gost3410/private.go | 0 src/cypherpunks.ru/gogost/gost3410/private_test.go => gost3410/private_test.go | 0 src/cypherpunks.ru/gogost/gost3410/public.go => gost3410/public.go | 0 src/cypherpunks.ru/gogost/gost3410/ukm.go => gost3410/ukm.go | 0 src/cypherpunks.ru/gogost/gost3410/utils.go => gost3410/utils.go | 0 src/cypherpunks.ru/gogost/gost3410/vko.go => gost3410/vko.go | 0 src/cypherpunks.ru/gogost/gost3410/vko2001.go => gost3410/vko2001.go | 4 ++-- src/cypherpunks.ru/gogost/gost3410/vko2001_test.go => gost3410/vko2001_test.go | 0 src/cypherpunks.ru/gogost/gost3410/vko2012.go => gost3410/vko2012.go | 4 ++-- src/cypherpunks.ru/gogost/gost3410/vko2012_test.go => gost3410/vko2012_test.go | 0 src/cypherpunks.ru/gogost/gost34112012256/esptree.go => gost34112012256/esptree.go | 0 src/cypherpunks.ru/gogost/gost34112012256/esptree_test.go => gost34112012256/esptree_test.go | 0 src/cypherpunks.ru/gogost/gost34112012256/hash.go => gost34112012256/hash.go | 2 +- src/cypherpunks.ru/gogost/gost34112012256/hkdf_test.go => gost34112012256/hkdf_test.go | 0 src/cypherpunks.ru/gogost/gost34112012256/kdf.go => gost34112012256/kdf.go | 0 src/cypherpunks.ru/gogost/gost34112012256/kdf_test.go => gost34112012256/kdf_test.go | 0 src/cypherpunks.ru/gogost/gost34112012256/tlstree.go => gost34112012256/tlstree.go | 0 src/cypherpunks.ru/gogost/gost34112012256/tlstree_test.go => gost34112012256/tlstree_test.go | 0 src/cypherpunks.ru/gogost/gost34112012512/hash.go => gost34112012512/hash.go | 2 +- src/cypherpunks.ru/gogost/gost341194/hash.go => gost341194/hash.go | 2 +- src/cypherpunks.ru/gogost/gost341194/hash_test.go => gost341194/hash_test.go | 2 +- src/cypherpunks.ru/gogost/gost341194/pbkdf2_test.go => gost341194/pbkdf2_test.go | 2 +- src/cypherpunks.ru/gogost/gost3412128/cipher.go => gost3412128/cipher.go | 0 src/cypherpunks.ru/gogost/gost3412128/cipher_test.go => gost3412128/cipher_test.go | 0 src/cypherpunks.ru/gogost/gost341264/cipher.go => gost341264/cipher.go | 2 +- src/cypherpunks.ru/gogost/gost341264/cipher_test.go => gost341264/cipher_test.go | 0 src/cypherpunks.ru/gogost/gost3413/padding.go => gost3413/padding.go | 0 src/cypherpunks.ru/gogost/internal/gost34112012/hash.go => internal/gost34112012/hash.go | 0 src/cypherpunks.ru/gogost/internal/gost34112012/hash_test.go => internal/gost34112012/hash_test.go | 0 src/cypherpunks.ru/gogost/internal/gost34112012/hmac_test.go => internal/gost34112012/hmac_test.go | 0 src/cypherpunks.ru/gogost/mgm/mode.go => mgm/mode.go | 0 src/cypherpunks.ru/gogost/mgm/mode_test.go => mgm/mode_test.go | 4 ++-- src/cypherpunks.ru/gogost/mgm/mul.go => mgm/mul.go | 0 src/cypherpunks.ru/gogost/mgm/mul_test.go => mgm/mul_test.go | 4 ++-- src/cypherpunks.ru/gogost/mgm/slice.go => mgm/slice.go | 0 diff --git a/go.mod b/go.mod new file mode 100644 index 0000000000000000000000000000000000000000..59aef5237ab6a921d22f3397f5680544332499f7b7c159b3e995d360c947cebd --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module go.cypherpunks.ru/gogost/v4 + +go 1.12 + +require golang.org/x/crypto v0.0.0-20191001170739-f9e2070545dc diff --git a/src/cypherpunks.ru/gogost/cmd/streebog256/main.go b/cmd/streebog256/main.go rename from src/cypherpunks.ru/gogost/cmd/streebog256/main.go rename to cmd/streebog256/main.go index 6dae7eb41d6892b3294b0d1e11f6de9bc5b7f88ebe299ef11ac9bc1c6ad6e501..57761c1850357ecd6fc732af4b28d04d6fddd32e2a9658a44a6b391e960908a9 100644 --- a/src/cypherpunks.ru/gogost/cmd/streebog256/main.go +++ b/cmd/streebog256/main.go @@ -23,8 +23,8 @@ "fmt" "io" "os" - "cypherpunks.ru/gogost" - "cypherpunks.ru/gogost/gost34112012256" + "go.cypherpunks.ru/gogost/v4" + "go.cypherpunks.ru/gogost/v4/gost34112012256" ) var ( diff --git a/src/cypherpunks.ru/gogost/cmd/streebog512/main.go b/cmd/streebog512/main.go rename from src/cypherpunks.ru/gogost/cmd/streebog512/main.go rename to cmd/streebog512/main.go index ac3ce3dd11938abf6a1461a411d4f0b97f88026b1b10506703ef7825eb5b1679..4418ae0ca37ad07b4b79353fa1795f37c401703d82d97de5a15fed7c3d6de821 100644 --- a/src/cypherpunks.ru/gogost/cmd/streebog512/main.go +++ b/cmd/streebog512/main.go @@ -23,8 +23,8 @@ "fmt" "io" "os" - "cypherpunks.ru/gogost" - "cypherpunks.ru/gogost/gost34112012512" + "go.cypherpunks.ru/gogost/v4" + "go.cypherpunks.ru/gogost/v4/gost34112012512" ) var ( diff --git a/src/cypherpunks.ru/gogost/go.mod b/src/cypherpunks.ru/gogost/go.mod deleted file mode 100644 index 8133ba6df117b7383a2d273192dff0ff23bce2fc14bfc38109671d21aae8f6ff..0000000000000000000000000000000000000000 --- a/src/cypherpunks.ru/gogost/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module cypherpunks.ru/gogost - -go 1.12 - -require golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 diff --git a/src/cypherpunks.ru/gogost/go.sum b/go.sum rename from src/cypherpunks.ru/gogost/go.sum rename to go.sum index 49f1a9879108d17ab2ecf0a572dedb822a29e2a45d01991e0cda808fc32fe7cb..0ab7f4c75dad34c1f5935ab239cdd4c4b812a4211d34f0cacae87d1e4ef96c4f 100644 --- a/src/cypherpunks.ru/gogost/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 h1:HuIa8hRrWRSrqYzx1qI49NNxhdi2PrY7gxVSq1JjLDc= -golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191001170739-f9e2070545dc h1:KyTYo8xkh/2WdbFLUyQwBS0Jfn3qfZ9QmuPbok2oENE= +golang.org/x/crypto v0.0.0-20191001170739-f9e2070545dc/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/src/cypherpunks.ru/gogost/gogost.go b/gogost.go rename from src/cypherpunks.ru/gogost/gogost.go rename to gogost.go diff --git a/src/cypherpunks.ru/gogost/gost28147/cbc_test.go b/gost28147/cbc_test.go rename from src/cypherpunks.ru/gogost/gost28147/cbc_test.go rename to gost28147/cbc_test.go diff --git a/src/cypherpunks.ru/gogost/gost28147/cfb.go b/gost28147/cfb.go rename from src/cypherpunks.ru/gogost/gost28147/cfb.go rename to gost28147/cfb.go diff --git a/src/cypherpunks.ru/gogost/gost28147/cfb_test.go b/gost28147/cfb_test.go rename from src/cypherpunks.ru/gogost/gost28147/cfb_test.go rename to gost28147/cfb_test.go diff --git a/src/cypherpunks.ru/gogost/gost28147/cipher.go b/gost28147/cipher.go rename from src/cypherpunks.ru/gogost/gost28147/cipher.go rename to gost28147/cipher.go diff --git a/src/cypherpunks.ru/gogost/gost28147/cipher_test.go b/gost28147/cipher_test.go rename from src/cypherpunks.ru/gogost/gost28147/cipher_test.go rename to gost28147/cipher_test.go diff --git a/src/cypherpunks.ru/gogost/gost28147/ctr.go b/gost28147/ctr.go rename from src/cypherpunks.ru/gogost/gost28147/ctr.go rename to gost28147/ctr.go diff --git a/src/cypherpunks.ru/gogost/gost28147/ctr_test.go b/gost28147/ctr_test.go rename from src/cypherpunks.ru/gogost/gost28147/ctr_test.go rename to gost28147/ctr_test.go diff --git a/src/cypherpunks.ru/gogost/gost28147/ecb.go b/gost28147/ecb.go rename from src/cypherpunks.ru/gogost/gost28147/ecb.go rename to gost28147/ecb.go diff --git a/src/cypherpunks.ru/gogost/gost28147/ecb_test.go b/gost28147/ecb_test.go rename from src/cypherpunks.ru/gogost/gost28147/ecb_test.go rename to gost28147/ecb_test.go diff --git a/src/cypherpunks.ru/gogost/gost28147/mac.go b/gost28147/mac.go rename from src/cypherpunks.ru/gogost/gost28147/mac.go rename to gost28147/mac.go diff --git a/src/cypherpunks.ru/gogost/gost28147/mac_test.go b/gost28147/mac_test.go rename from src/cypherpunks.ru/gogost/gost28147/mac_test.go rename to gost28147/mac_test.go diff --git a/src/cypherpunks.ru/gogost/gost28147/sbox.go b/gost28147/sbox.go rename from src/cypherpunks.ru/gogost/gost28147/sbox.go rename to gost28147/sbox.go diff --git a/src/cypherpunks.ru/gogost/gost3410/2001_test.go b/gost3410/2001_test.go rename from src/cypherpunks.ru/gogost/gost3410/2001_test.go rename to gost3410/2001_test.go diff --git a/src/cypherpunks.ru/gogost/gost3410/2012_test.go b/gost3410/2012_test.go rename from src/cypherpunks.ru/gogost/gost3410/2012_test.go rename to gost3410/2012_test.go diff --git a/src/cypherpunks.ru/gogost/gost3410/curve.go b/gost3410/curve.go rename from src/cypherpunks.ru/gogost/gost3410/curve.go rename to gost3410/curve.go diff --git a/src/cypherpunks.ru/gogost/gost3410/doc.go b/gost3410/doc.go rename from src/cypherpunks.ru/gogost/gost3410/doc.go rename to gost3410/doc.go diff --git a/src/cypherpunks.ru/gogost/gost3410/edwards.go b/gost3410/edwards.go rename from src/cypherpunks.ru/gogost/gost3410/edwards.go rename to gost3410/edwards.go diff --git a/src/cypherpunks.ru/gogost/gost3410/params.go b/gost3410/params.go rename from src/cypherpunks.ru/gogost/gost3410/params.go rename to gost3410/params.go diff --git a/src/cypherpunks.ru/gogost/gost3410/private.go b/gost3410/private.go rename from src/cypherpunks.ru/gogost/gost3410/private.go rename to gost3410/private.go diff --git a/src/cypherpunks.ru/gogost/gost3410/private_test.go b/gost3410/private_test.go rename from src/cypherpunks.ru/gogost/gost3410/private_test.go rename to gost3410/private_test.go diff --git a/src/cypherpunks.ru/gogost/gost3410/public.go b/gost3410/public.go rename from src/cypherpunks.ru/gogost/gost3410/public.go rename to gost3410/public.go diff --git a/src/cypherpunks.ru/gogost/gost3410/ukm.go b/gost3410/ukm.go rename from src/cypherpunks.ru/gogost/gost3410/ukm.go rename to gost3410/ukm.go diff --git a/src/cypherpunks.ru/gogost/gost3410/utils.go b/gost3410/utils.go rename from src/cypherpunks.ru/gogost/gost3410/utils.go rename to gost3410/utils.go diff --git a/src/cypherpunks.ru/gogost/gost3410/vko.go b/gost3410/vko.go rename from src/cypherpunks.ru/gogost/gost3410/vko.go rename to gost3410/vko.go diff --git a/src/cypherpunks.ru/gogost/gost3410/vko2001.go b/gost3410/vko2001.go rename from src/cypherpunks.ru/gogost/gost3410/vko2001.go rename to gost3410/vko2001.go index 74d9efcf0216931969ba02c0df1a1406a04a35245dd5d4366ee97da6d1729f22..4eb437762b118cdcdd02eb66937ca211c9d0e8e5e4b1adfe052106c64e40d57d 100644 --- a/src/cypherpunks.ru/gogost/gost3410/vko2001.go +++ b/gost3410/vko2001.go @@ -19,8 +19,8 @@ import ( "errors" "math/big" - "cypherpunks.ru/gogost/gost28147" - "cypherpunks.ru/gogost/gost341194" + "go.cypherpunks.ru/gogost/v4/gost28147" + "go.cypherpunks.ru/gogost/v4/gost341194" ) // RFC 4357 VKO GOST R 34.10-2001 key agreement function. diff --git a/src/cypherpunks.ru/gogost/gost3410/vko2001_test.go b/gost3410/vko2001_test.go rename from src/cypherpunks.ru/gogost/gost3410/vko2001_test.go rename to gost3410/vko2001_test.go diff --git a/src/cypherpunks.ru/gogost/gost3410/vko2012.go b/gost3410/vko2012.go rename from src/cypherpunks.ru/gogost/gost3410/vko2012.go rename to gost3410/vko2012.go index cdc511ee10d22393b14c30fea2adaeb6115a9967d8d9fcc27c6afcaf26abbc01..1d0b21bd6720eaef93df01fb228719fd3cbec7e74c6a0f79a1039a243c29471f 100644 --- a/src/cypherpunks.ru/gogost/gost3410/vko2012.go +++ b/gost3410/vko2012.go @@ -18,8 +18,8 @@ import ( "math/big" - "cypherpunks.ru/gogost/gost34112012256" - "cypherpunks.ru/gogost/gost34112012512" + "go.cypherpunks.ru/gogost/v4/gost34112012256" + "go.cypherpunks.ru/gogost/v4/gost34112012512" ) // RFC 7836 VKO GOST R 34.10-2012 256-bit key agreement function. diff --git a/src/cypherpunks.ru/gogost/gost3410/vko2012_test.go b/gost3410/vko2012_test.go rename from src/cypherpunks.ru/gogost/gost3410/vko2012_test.go rename to gost3410/vko2012_test.go diff --git a/src/cypherpunks.ru/gogost/gost34112012256/esptree.go b/gost34112012256/esptree.go rename from src/cypherpunks.ru/gogost/gost34112012256/esptree.go rename to gost34112012256/esptree.go diff --git a/src/cypherpunks.ru/gogost/gost34112012256/esptree_test.go b/gost34112012256/esptree_test.go rename from src/cypherpunks.ru/gogost/gost34112012256/esptree_test.go rename to gost34112012256/esptree_test.go diff --git a/src/cypherpunks.ru/gogost/gost34112012256/hash.go b/gost34112012256/hash.go rename from src/cypherpunks.ru/gogost/gost34112012256/hash.go rename to gost34112012256/hash.go index 9b40018eea92ae7b60a95959923a34b10971bcb3eb61f298dfd2acad2dd8bfcc..c97f10eade0a7e8cd5a974da53b3c9c796ceabaee485b5bf138343d15ed1752a 100644 --- a/src/cypherpunks.ru/gogost/gost34112012256/hash.go +++ b/gost34112012256/hash.go @@ -20,7 +20,7 @@ import ( "hash" - "cypherpunks.ru/gogost/internal/gost34112012" + "go.cypherpunks.ru/gogost/v4/internal/gost34112012" ) const ( diff --git a/src/cypherpunks.ru/gogost/gost34112012256/hkdf_test.go b/gost34112012256/hkdf_test.go rename from src/cypherpunks.ru/gogost/gost34112012256/hkdf_test.go rename to gost34112012256/hkdf_test.go diff --git a/src/cypherpunks.ru/gogost/gost34112012256/kdf.go b/gost34112012256/kdf.go rename from src/cypherpunks.ru/gogost/gost34112012256/kdf.go rename to gost34112012256/kdf.go diff --git a/src/cypherpunks.ru/gogost/gost34112012256/kdf_test.go b/gost34112012256/kdf_test.go rename from src/cypherpunks.ru/gogost/gost34112012256/kdf_test.go rename to gost34112012256/kdf_test.go diff --git a/src/cypherpunks.ru/gogost/gost34112012256/tlstree.go b/gost34112012256/tlstree.go rename from src/cypherpunks.ru/gogost/gost34112012256/tlstree.go rename to gost34112012256/tlstree.go diff --git a/src/cypherpunks.ru/gogost/gost34112012256/tlstree_test.go b/gost34112012256/tlstree_test.go rename from src/cypherpunks.ru/gogost/gost34112012256/tlstree_test.go rename to gost34112012256/tlstree_test.go diff --git a/src/cypherpunks.ru/gogost/gost34112012512/hash.go b/gost34112012512/hash.go rename from src/cypherpunks.ru/gogost/gost34112012512/hash.go rename to gost34112012512/hash.go index c30e84de10b5ea5d8fec9f023b9b0c01646a0a5b244fcedadbf47efa7a442ad7..38a16d4386e78b5e4d325c66a725994a9e1c7ad5366dbe6f3223e23b280464c5 100644 --- a/src/cypherpunks.ru/gogost/gost34112012512/hash.go +++ b/gost34112012512/hash.go @@ -20,7 +20,7 @@ import ( "hash" - "cypherpunks.ru/gogost/internal/gost34112012" + "go.cypherpunks.ru/gogost/v4/internal/gost34112012" ) const ( diff --git a/src/cypherpunks.ru/gogost/gost341194/hash.go b/gost341194/hash.go rename from src/cypherpunks.ru/gogost/gost341194/hash.go rename to gost341194/hash.go index ebb4a32f10a5b3f635b454e475d276c9c07b9aa86cb3c36e7d0cf0a770b66e44..70f3f36219b9406c4a5e73301112091dd6d5185e2448c219c5bd882c65711c11 100644 --- a/src/cypherpunks.ru/gogost/gost341194/hash.go +++ b/gost341194/hash.go @@ -21,7 +21,7 @@ import ( "encoding/binary" "math/big" - "cypherpunks.ru/gogost/gost28147" + "go.cypherpunks.ru/gogost/v4/gost28147" ) const ( diff --git a/src/cypherpunks.ru/gogost/gost341194/hash_test.go b/gost341194/hash_test.go rename from src/cypherpunks.ru/gogost/gost341194/hash_test.go rename to gost341194/hash_test.go index 192d2d3c8690a2562738824bd2383a2af565bf047da726a6b93c084770cbc83c..4aeb4853a7b1132542961e8c69aa531fb03fcbedcaa628877d8776907ebe4801 100644 --- a/src/cypherpunks.ru/gogost/gost341194/hash_test.go +++ b/gost341194/hash_test.go @@ -22,7 +22,7 @@ "hash" "testing" "testing/quick" - "cypherpunks.ru/gogost/gost28147" + "go.cypherpunks.ru/gogost/v4/gost28147" ) func TestHashInterface(t *testing.T) { diff --git a/src/cypherpunks.ru/gogost/gost341194/pbkdf2_test.go b/gost341194/pbkdf2_test.go rename from src/cypherpunks.ru/gogost/gost341194/pbkdf2_test.go rename to gost341194/pbkdf2_test.go index 7e16fea7025c057e16a22fc15b435b55f107f366342982b13b35d11f56a00003..b8c88261af7278342641aaa1e3fb20b6aca9cc086818e869e87a5b4771e5c564 100644 --- a/src/cypherpunks.ru/gogost/gost341194/pbkdf2_test.go +++ b/gost341194/pbkdf2_test.go @@ -20,7 +20,7 @@ "bytes" "hash" "testing" - "cypherpunks.ru/gogost/gost28147" + "go.cypherpunks.ru/gogost/v4/gost28147" "golang.org/x/crypto/pbkdf2" ) diff --git a/src/cypherpunks.ru/gogost/gost3412128/cipher.go b/gost3412128/cipher.go rename from src/cypherpunks.ru/gogost/gost3412128/cipher.go rename to gost3412128/cipher.go diff --git a/src/cypherpunks.ru/gogost/gost3412128/cipher_test.go b/gost3412128/cipher_test.go rename from src/cypherpunks.ru/gogost/gost3412128/cipher_test.go rename to gost3412128/cipher_test.go diff --git a/src/cypherpunks.ru/gogost/gost341264/cipher.go b/gost341264/cipher.go rename from src/cypherpunks.ru/gogost/gost341264/cipher.go rename to gost341264/cipher.go index 7a5ebcb2100f4b896080c0f44cd5ea743d4a82e8ed7a8ba99c5a1b1ebbe3619e..9b4cbb3f79104a87543c06cefd21f6885cbc1a66dd42f4a738dc26fa599b5f42 100644 --- a/src/cypherpunks.ru/gogost/gost341264/cipher.go +++ b/gost341264/cipher.go @@ -17,7 +17,7 @@ // GOST 34.12-2015 64-bit (Магма (Magma)) block cipher. package gost341264 import ( - "cypherpunks.ru/gogost/gost28147" + "go.cypherpunks.ru/gogost/v4/gost28147" ) const ( diff --git a/src/cypherpunks.ru/gogost/gost341264/cipher_test.go b/gost341264/cipher_test.go rename from src/cypherpunks.ru/gogost/gost341264/cipher_test.go rename to gost341264/cipher_test.go diff --git a/src/cypherpunks.ru/gogost/gost3413/padding.go b/gost3413/padding.go rename from src/cypherpunks.ru/gogost/gost3413/padding.go rename to gost3413/padding.go diff --git a/src/cypherpunks.ru/gogost/internal/gost34112012/hash.go b/internal/gost34112012/hash.go rename from src/cypherpunks.ru/gogost/internal/gost34112012/hash.go rename to internal/gost34112012/hash.go diff --git a/src/cypherpunks.ru/gogost/internal/gost34112012/hash_test.go b/internal/gost34112012/hash_test.go rename from src/cypherpunks.ru/gogost/internal/gost34112012/hash_test.go rename to internal/gost34112012/hash_test.go diff --git a/src/cypherpunks.ru/gogost/internal/gost34112012/hmac_test.go b/internal/gost34112012/hmac_test.go rename from src/cypherpunks.ru/gogost/internal/gost34112012/hmac_test.go rename to internal/gost34112012/hmac_test.go diff --git a/src/cypherpunks.ru/gogost/mgm/mode.go b/mgm/mode.go rename from src/cypherpunks.ru/gogost/mgm/mode.go rename to mgm/mode.go diff --git a/src/cypherpunks.ru/gogost/mgm/mode_test.go b/mgm/mode_test.go rename from src/cypherpunks.ru/gogost/mgm/mode_test.go rename to mgm/mode_test.go index 30bcba7b4e2da6bb342ba0a5c004e06d3d27d826dfb8f3c6f55fc8926452033d..3b5aa186648f49da1227361b8df04168913630121e1c8b4123f46946bd71f80f 100644 --- a/src/cypherpunks.ru/gogost/mgm/mode_test.go +++ b/mgm/mode_test.go @@ -22,8 +22,8 @@ "crypto/rand" "testing" "testing/quick" - "cypherpunks.ru/gogost/gost3412128" - "cypherpunks.ru/gogost/gost341264" + "go.cypherpunks.ru/gogost/v4/gost3412128" + "go.cypherpunks.ru/gogost/v4/gost341264" ) func TestVector(t *testing.T) { diff --git a/src/cypherpunks.ru/gogost/mgm/mul.go b/mgm/mul.go rename from src/cypherpunks.ru/gogost/mgm/mul.go rename to mgm/mul.go diff --git a/src/cypherpunks.ru/gogost/mgm/mul_test.go b/mgm/mul_test.go rename from src/cypherpunks.ru/gogost/mgm/mul_test.go rename to mgm/mul_test.go index effbecf70697d1b73806b715c85b8fe8845c24a87596310cde424429e0a88fab..db16091fb78d1420b40d4c5f9a1f6c46c557a29b6b50368677fc1d93bf0f27ad 100644 --- a/src/cypherpunks.ru/gogost/mgm/mul_test.go +++ b/mgm/mul_test.go @@ -20,8 +20,8 @@ "crypto/rand" "math/big" "testing" - "cypherpunks.ru/gogost/gost3412128" - "cypherpunks.ru/gogost/gost341264" + "go.cypherpunks.ru/gogost/v4/gost3412128" + "go.cypherpunks.ru/gogost/v4/gost341264" ) func BenchmarkMul64(b *testing.B) { diff --git a/src/cypherpunks.ru/gogost/mgm/slice.go b/mgm/slice.go rename from src/cypherpunks.ru/gogost/mgm/slice.go rename to mgm/slice.go