README | 4 ++-- cmd/streebog256/main.go | 4 ++-- cmd/streebog512/main.go | 4 ++-- go.mod | 2 +- gost3410/vko2001.go | 4 ++-- gost3410/vko2012.go | 4 ++-- gost34112012256/hash.go | 2 +- gost34112012512/hash.go | 2 +- gost341194/hash.go | 2 +- gost341194/hash_test.go | 2 +- gost341194/pbkdf2_test.go | 2 +- gost341264/cipher.go | 2 +- install.texi | 6 +++--- mgm/mode_test.go | 4 ++-- mgm/mul_test.go | 4 ++-- prfplus/gost.go | 4 ++-- www.texi | 4 ++-- diff --git a/README b/README index e25df09c6bcf1e974e75c8f3f28f9648ccd4a907d1029b7beaf1040132d9f6ab..71a15313ca3e3ca3fa66898487c760b4bc4a18577d085dbaa7f128c839357b88 100644 --- a/README +++ b/README @@ -37,8 +37,8 @@ import ( "crypto/rand" "io" - "go.cypherpunks.ru/gogost/v4/gost3410" - "go.cypherpunks.ru/gogost/v4/gost34112012256" + "go.cypherpunks.ru/gogost/v5/gost3410" + "go.cypherpunks.ru/gogost/v5/gost34112012256" ) func main() { data := []byte("data to be signed") diff --git a/cmd/streebog256/main.go b/cmd/streebog256/main.go index e4eb52c6798b3747dfe58fc851c755d712da19dd1ae74aab705949512bbd9519..4e1f180792a3f5a61967aaa90c81b832fddbaad50771eb41e5d87341ece53edb 100644 --- a/cmd/streebog256/main.go +++ b/cmd/streebog256/main.go @@ -23,8 +23,8 @@ "fmt" "io" "os" - "go.cypherpunks.ru/gogost/v4" - "go.cypherpunks.ru/gogost/v4/gost34112012256" + "go.cypherpunks.ru/gogost/v5" + "go.cypherpunks.ru/gogost/v5/gost34112012256" ) var ( diff --git a/cmd/streebog512/main.go b/cmd/streebog512/main.go index 4cf048f35da31b07a11dda77c9fa3816170c1166bb31d4eeb2bf514d80a23f2a..775cfe10a653915841918d30014f83bc17839c2a681f2ee1a6b2fe2b9d2f2b5b 100644 --- a/cmd/streebog512/main.go +++ b/cmd/streebog512/main.go @@ -23,8 +23,8 @@ "fmt" "io" "os" - "go.cypherpunks.ru/gogost/v4" - "go.cypherpunks.ru/gogost/v4/gost34112012512" + "go.cypherpunks.ru/gogost/v5" + "go.cypherpunks.ru/gogost/v5/gost34112012512" ) var ( diff --git a/go.mod b/go.mod index 36717a01cd7ab59cd70abf3774d8bfbef429ca6b5133ce354e3f7b11b62ce555..04026b8e588fda5a205a9f804579ade0d4e8171be2074f49f105206ec5aa9bd9 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.cypherpunks.ru/gogost/v4 +module go.cypherpunks.ru/gogost/v5 go 1.12 diff --git a/gost3410/vko2001.go b/gost3410/vko2001.go index 44719af1d9b762444825d58b8db1777adb5969991a9337f9a843bca28fb0b251..8ffece872a40f537add7128c9aedefaf3eb13c2663cbd84404ba2e39d2c028d7 100644 --- a/gost3410/vko2001.go +++ b/gost3410/vko2001.go @@ -19,8 +19,8 @@ import ( "errors" "math/big" - "go.cypherpunks.ru/gogost/v4/gost28147" - "go.cypherpunks.ru/gogost/v4/gost341194" + "go.cypherpunks.ru/gogost/v5/gost28147" + "go.cypherpunks.ru/gogost/v5/gost341194" ) // RFC 4357 VKO GOST R 34.10-2001 key agreement function. diff --git a/gost3410/vko2012.go b/gost3410/vko2012.go index d78e5a59d8f5d84f0cac7181f42bcfdbb335c4e8abfad4c5b8e0a8f36b6f1a16..8a8699933a68bee96ac87143154aa940a23d5fb8b1d4aadc22cbffcf53005f85 100644 --- a/gost3410/vko2012.go +++ b/gost3410/vko2012.go @@ -18,8 +18,8 @@ import ( "math/big" - "go.cypherpunks.ru/gogost/v4/gost34112012256" - "go.cypherpunks.ru/gogost/v4/gost34112012512" + "go.cypherpunks.ru/gogost/v5/gost34112012256" + "go.cypherpunks.ru/gogost/v5/gost34112012512" ) // RFC 7836 VKO GOST R 34.10-2012 256-bit key agreement function. diff --git a/gost34112012256/hash.go b/gost34112012256/hash.go index 95584bfe473f8a988f6ff2b9f669165e2094f3c7a233c6a6cb2f3a43db5d2f8b..d1b8f8e4e38cb0a00d25b5452ba0006befa03d4d0445d6c492e7c88a17dfff70 100644 --- a/gost34112012256/hash.go +++ b/gost34112012256/hash.go @@ -20,7 +20,7 @@ import ( "hash" - "go.cypherpunks.ru/gogost/v4/internal/gost34112012" + "go.cypherpunks.ru/gogost/v5/internal/gost34112012" ) const ( diff --git a/gost34112012512/hash.go b/gost34112012512/hash.go index 43933dfd035fb4d908205b49c48eaa331072c6538e81b935edc4430564e0d9f2..26f58514ffc0c59af210db7fef5afaf9535cff8fdd6937539ab108d0623f0e09 100644 --- a/gost34112012512/hash.go +++ b/gost34112012512/hash.go @@ -20,7 +20,7 @@ import ( "hash" - "go.cypherpunks.ru/gogost/v4/internal/gost34112012" + "go.cypherpunks.ru/gogost/v5/internal/gost34112012" ) const ( diff --git a/gost341194/hash.go b/gost341194/hash.go index bdc5d1430c802faa8d58409451664408d48723fd432fdff3aa78af17155aa59d..595a55d2fbe2a75786f631f7a151a40fb0533a3f926b631f33439dbed06bae6f 100644 --- a/gost341194/hash.go +++ b/gost341194/hash.go @@ -21,7 +21,7 @@ import ( "encoding/binary" "math/big" - "go.cypherpunks.ru/gogost/v4/gost28147" + "go.cypherpunks.ru/gogost/v5/gost28147" ) const ( diff --git a/gost341194/hash_test.go b/gost341194/hash_test.go index fb3c187c240003b342014b2dbd2e33fac06c651c7ba2708b327372eb1a8107d7..dad6357c6e57b645856657d3f7f8cd007c39a6d2188327eb5822558575694ed4 100644 --- a/gost341194/hash_test.go +++ b/gost341194/hash_test.go @@ -22,7 +22,7 @@ "hash" "testing" "testing/quick" - "go.cypherpunks.ru/gogost/v4/gost28147" + "go.cypherpunks.ru/gogost/v5/gost28147" ) func TestHashInterface(t *testing.T) { diff --git a/gost341194/pbkdf2_test.go b/gost341194/pbkdf2_test.go index a451bbe16f106c847ad154a1762e8fa073d7c729ce8568ed2053e2903b5c82c2..5ca7e10c24a68d0f61b4c13d4d5036e53ff5e4f29d61305e2aa4a6f79d6fc36c 100644 --- a/gost341194/pbkdf2_test.go +++ b/gost341194/pbkdf2_test.go @@ -20,7 +20,7 @@ "bytes" "hash" "testing" - "go.cypherpunks.ru/gogost/v4/gost28147" + "go.cypherpunks.ru/gogost/v5/gost28147" "golang.org/x/crypto/pbkdf2" ) diff --git a/gost341264/cipher.go b/gost341264/cipher.go index 3ef992d9e19d5b062446730e022ffc45a70709b0af3c0442d029e36be80b71db..1d0e471de8cb022ab1201910c0ad6bcd21cbd3c6a588427482483a722407813e 100644 --- a/gost341264/cipher.go +++ b/gost341264/cipher.go @@ -17,7 +17,7 @@ // GOST 34.12-2015 64-bit (Магма (Magma)) block cipher. package gost341264 import ( - "go.cypherpunks.ru/gogost/v4/gost28147" + "go.cypherpunks.ru/gogost/v5/gost28147" ) const ( diff --git a/install.texi b/install.texi index f1215f27a7d4617724e49783d04ec79119f2a2ec7c1c73ef20eba0a5e8b23c10..d45b3f93651f783d55dac2a76fb5f817b95c81110eea3d78e96d2d1208426e2f 100644 --- a/install.texi +++ b/install.texi @@ -40,7 +40,7 @@ import ( "encoding/hex" "fmt" - "go.cypherpunks.ru/gogost/v4/gost34112012256" + "go.cypherpunks.ru/gogost/v5/gost34112012256" ) func main() @{ @@ -99,8 +99,8 @@ Also you can use @code{replace} feature inside your @file{go.mod}, like: @example -require go.cypherpunks.ru/gogost/v4 v@value{VERSION} -replace go.cypherpunks.ru/gogost/v4 => /home/stargrave/gogost-@value{VERSION}/src/go.cypherpunks.ru/gogost/v4 +require go.cypherpunks.ru/gogost/v5 v@value{VERSION} +replace go.cypherpunks.ru/gogost/v5 => /home/stargrave/gogost-@value{VERSION}/src/go.cypherpunks.ru/gogost/v5 @end example You can obtain development source code with diff --git a/mgm/mode_test.go b/mgm/mode_test.go index 6b6ba7cf6aa4b89d025057bb91beee3d06a3d388c2db2eeb09dac183d956d4ab..2e5d2c02f1e987249790ace9b97bda53096cd443ee3bfb70273b5b8793b36baf 100644 --- a/mgm/mode_test.go +++ b/mgm/mode_test.go @@ -22,8 +22,8 @@ "crypto/rand" "testing" "testing/quick" - "go.cypherpunks.ru/gogost/v4/gost3412128" - "go.cypherpunks.ru/gogost/v4/gost341264" + "go.cypherpunks.ru/gogost/v5/gost3412128" + "go.cypherpunks.ru/gogost/v5/gost341264" ) func TestVector(t *testing.T) { diff --git a/mgm/mul_test.go b/mgm/mul_test.go index 1b0089b2cd16716a20199424e28c68e0db22d5d3803ba27889bb33ddeff9dc8c..a51f2311fda19e55a1a82b2459ba5f0d2704e5eb94a713d1285d9e45a5c74393 100644 --- a/mgm/mul_test.go +++ b/mgm/mul_test.go @@ -20,8 +20,8 @@ "crypto/rand" "math/big" "testing" - "go.cypherpunks.ru/gogost/v4/gost3412128" - "go.cypherpunks.ru/gogost/v4/gost341264" + "go.cypherpunks.ru/gogost/v5/gost3412128" + "go.cypherpunks.ru/gogost/v5/gost341264" ) func BenchmarkMul64(b *testing.B) { diff --git a/prfplus/gost.go b/prfplus/gost.go index e671f494d82c4b9fe4f26315c66c9bfef39844a408faf5c4d8916f3399ea688b..4e609132479b07c85fff9ec310158dcc4922acb47cfdf00f00af692d841c4ad4 100644 --- a/prfplus/gost.go +++ b/prfplus/gost.go @@ -20,8 +20,8 @@ import ( "crypto/hmac" "hash" - "go.cypherpunks.ru/gogost/v4/gost34112012256" - "go.cypherpunks.ru/gogost/v4/gost34112012512" + "go.cypherpunks.ru/gogost/v5/gost34112012256" + "go.cypherpunks.ru/gogost/v5/gost34112012512" ) type PRFIPsecPRFPlusGOSTR34112012 struct{ h hash.Hash } diff --git a/www.texi b/www.texi index 9125098797eabc6471133a418856fd589df727f178efa6257bf4377f5fe40fc5..5afc9312d8805c196b6e82402fd0d0001d17e053940cb445dc26ed0f103d6538 100644 --- a/www.texi +++ b/www.texi @@ -65,8 +65,8 @@ @verbatim import ( "crypto/rand" "io" - "go.cypherpunks.ru/gogost/v4/gost3410" - "go.cypherpunks.ru/gogost/v4/gost34112012256" + "go.cypherpunks.ru/gogost/v5/gost3410" + "go.cypherpunks.ru/gogost/v5/gost34112012256" ) func main() { data := []byte("data to be signed")