]> Cypherpunks.ru repositories - gogost.git/commitdiff
Update namespace major version
authorSergey Matveev <stargrave@stargrave.org>
Fri, 4 Sep 2020 19:35:40 +0000 (22:35 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 4 Sep 2020 19:35:40 +0000 (22:35 +0300)
17 files changed:
README
cmd/streebog256/main.go
cmd/streebog512/main.go
go.mod
gost3410/vko2001.go
gost3410/vko2012.go
gost34112012256/hash.go
gost34112012512/hash.go
gost341194/hash.go
gost341194/hash_test.go
gost341194/pbkdf2_test.go
gost341264/cipher.go
install.texi
mgm/mode_test.go
mgm/mul_test.go
prfplus/gost.go
www.texi

diff --git a/README b/README
index 3767c50200170548ba728f589773fd0e8d8a3fe5..0f5fa1ce05158c20bff892d72b43521c67f89260 100644 (file)
--- a/README
+++ b/README
@@ -37,8 +37,8 @@ Example 34.10-2012-256 keypair generation, signing and verifying:
     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")
index 9db7c477afbf138a497cd25cb48efe14801374bd..b45678a40d47396df05fe73e8f8ca1a3e65c7801 100644 (file)
@@ -23,8 +23,8 @@ import (
        "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 (
index 052592f2b6efe6a700e88a40971a95e800524dc5..5c51e6ec7c1f77101053258360158245aa05b652 100644 (file)
@@ -23,8 +23,8 @@ import (
        "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 793c358d32d43fac7f1164b193242b628ac9e0ce..44aa4be22233e8331df585a7be3ee55c6e4ed4a8 100644 (file)
--- 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
 
index 8559ed2a9c2dc807302a22d0b02fedea1c8b68be..7ba7ba44373eb08a3b0b803fc9a531da32afe4e0 100644 (file)
@@ -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.
index 78b9af59e036764e62bd82dd1d5e060bd6844f79..76fa0a4d15138e57581e776dadefe020d3ae6adb 100644 (file)
@@ -18,8 +18,8 @@ package gost3410
 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.
index 7f68188a8e3d4cce38463b6d85b06a4e3231b608..d98b867e6901b15d965a178b06fa44a2c2d68d27 100644 (file)
@@ -20,7 +20,7 @@ package gost34112012256
 import (
        "hash"
 
-       "go.cypherpunks.ru/gogost/v4/internal/gost34112012"
+       "go.cypherpunks.ru/gogost/v5/internal/gost34112012"
 )
 
 const (
index ec094a92b5866d4a048afb1a41a30cb233913464..036f3710cbffa23b3b92fc74bfd83eedf286791f 100644 (file)
@@ -20,7 +20,7 @@ package gost34112012512
 import (
        "hash"
 
-       "go.cypherpunks.ru/gogost/v4/internal/gost34112012"
+       "go.cypherpunks.ru/gogost/v5/internal/gost34112012"
 )
 
 const (
index 28484932321c9e2417f13e529e80cb730ccd20d6..e14a68d9ecc08841ec546823d3a38731d98a5943 100644 (file)
@@ -21,7 +21,7 @@ import (
        "encoding/binary"
        "math/big"
 
-       "go.cypherpunks.ru/gogost/v4/gost28147"
+       "go.cypherpunks.ru/gogost/v5/gost28147"
 )
 
 const (
index be70a796154d1cb0e1dbf5ebecfe6681de25386a..f100793c114b3b1a811d882bcb505b441281ee1e 100644 (file)
@@ -22,7 +22,7 @@ import (
        "testing"
        "testing/quick"
 
-       "go.cypherpunks.ru/gogost/v4/gost28147"
+       "go.cypherpunks.ru/gogost/v5/gost28147"
 )
 
 func TestHashInterface(t *testing.T) {
index 2f02d66cc28055761f0c69fbe9e02a3285f7c605..2e2d578e2d58a2c5f08d778198dc3107d7b50240 100644 (file)
@@ -20,7 +20,7 @@ import (
        "hash"
        "testing"
 
-       "go.cypherpunks.ru/gogost/v4/gost28147"
+       "go.cypherpunks.ru/gogost/v5/gost28147"
        "golang.org/x/crypto/pbkdf2"
 )
 
index d9ab4578a460de68c5daa813dca0536fb84cd6df..bdcc8d2fec98f726f82bf718550b8d6a89219aac 100644 (file)
@@ -17,7 +17,7 @@
 package gost341264
 
 import (
-       "go.cypherpunks.ru/gogost/v4/gost28147"
+       "go.cypherpunks.ru/gogost/v5/gost28147"
 )
 
 const (
index 729510d85a4ee169a73f24999f909afc07445b80..e756897dd0be593781c8c63d51c751624f30bc19 100644 (file)
@@ -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 @@ variable.
 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
index 6eaf9d8f65df6781be008a0db39cbc1156087b67..d29120a7e087132abda55c3a92224c8c5fedb3ea 100644 (file)
@@ -22,8 +22,8 @@ import (
        "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) {
index 1819cd7d159029635db727564da36aea171f215a..af6e396445f31617238769cc061caec693ca2fc8 100644 (file)
@@ -20,8 +20,8 @@ import (
        "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) {
index 4b1aed68a457fbe1f0f09a2e0203ce931b2f22e5..f688e38f4d5ac459431d9420b74aedc34c2a6ee3 100644 (file)
@@ -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 }
index 83de587790a2ab8d2c22d48ae372a84b7eab62ea..046d6dcab6bbe48227291452e42e9cb194b9a8f3 100644 (file)
--- a/www.texi
+++ b/www.texi
@@ -65,8 +65,8 @@ Example 34.10-2012-256 keypair generation, signing and verifying:
 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")