]> Cypherpunks.ru repositories - gogost.git/commitdiff
Preparing for release 4.0
authorSergey Matveev <stargrave@stargrave.org>
Mon, 12 Aug 2019 08:05:28 +0000 (11:05 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 12 Aug 2019 09:06:12 +0000 (12:06 +0300)
NEWS
README
makedist.sh
news.texi
www.texi

diff --git a/NEWS b/NEWS
index 3e10d9a7c3c40354b6d2e94e3d20d7d755641010..9b82e8ccabd85479f55e78844ad4aaf7e21c26a4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,14 @@
+4.0:
+    * Backward incompatible change: all keys passing to encryption
+      functions are slices now, not the fixed arrays. That heavily
+      simplifies the library usage
+    * Fix bug with overwriting IVs memory in gost28147.CFB*crypter
+    * TLSTREE, used in TLS 1.[23], implementation
+    * gost3410.KEK2012* can be used with any curves, not only 512-bit ones
+    * gost3410.PrivateKey satisfies crypto.Signer interface
+    * gost34112012* hashes satisfy encoding.Binary(Un)Marshaler
+    * Streebog256 HKDF test vectors
+
 3.0:
     * Multilinear Galois Mode (MGM) block cipher mode for
       64 and 128 bit ciphers
diff --git a/README b/README
index 50458681fc6f4192fc83f42c8223cee006be9309..fa05b907ff0edb9256fb96ad1e8235e6e98237db 100644 (file)
--- a/README
+++ b/README
@@ -19,6 +19,7 @@ GOST is GOvernment STandard of Russian Federation (and Soviet Union).
 * GOST R 34.12-2015 64-bit block cipher Магма (Magma)
 * GOST R 34.13-2015 padding methods
 * MGM AEAD mode for 64 and 128 bit ciphers
+* TLSTREE keyscheduling function
 
 Known problems:
 
index 24d5f5883d550f65f667825b1746b1fa5d3faa4d..6c79acc4f0ece84765ee378882619e053acc5334 100755 (executable)
@@ -8,20 +8,18 @@ release=$1
 git clone . $tmp/gogost-$release
 cd $tmp/gogost-$release
 git checkout $release
-git submodule update --init
-
-mkdir -p src/cypherpunks.ru/gogost/vendor
-cat > $tmp/includes <<EOF
-golang.org/x/crypto/AUTHORS
-golang.org/x/crypto/CONTRIBUTORS
-golang.org/x/crypto/LICENSE
-golang.org/x/crypto/PATENTS
-golang.org/x/crypto/README
-golang.org/x/crypto/pbkdf2
-EOF
-tar cfCI - src $tmp/includes | tar xfC - src/cypherpunks.ru/gogost/vendor
+
+crypto_path=src/cypherpunks.ru/gogost/vendor/golang.org/x/crypto
+mkdir -p $crypto_path
+( cd $cur/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20190701094942-4def268fd1a4 ; \
+    tar cf - AUTHORS CONTRIBUTORS LICENSE PATENTS README.md pbkdf2 hkdf ) |
+    tar xfC - $crypto_path
+
 find . -name .git -type d | xargs rm -fr
-rm -fr www* makedist* TODO src/golang.org $tmp/includes
+rm -f www* makedist* TODO
+
+find . -type d -exec chmod 700 {} \;
+find . -type f -exec chmod 600 {} \;
 
 cd ..
 tar cvf gogost-"$release".tar --uid=0 --gid=0 --numeric-owner gogost-"$release"
index 8d2d34f162f94ce0f3583b4fd3398bdad4905fdc..dc918f769cb7b33357f00d215f3c0a197c8e9424 100644 (file)
--- a/news.texi
+++ b/news.texi
@@ -3,6 +3,20 @@
 
 @table @strong
 
+@anchor{Release 4.0}
+@item 4.0
+    @itemize
+    @item Backward incompatible change: all keys passing to encryption
+        functions are slices now, not the fixed arrays. That heavily
+        simplifies the library usage
+    @item Fix bug with overwriting IVs memory in @code{gost28147.CFB*crypter}
+    @item @code{TLSTREE}, used in TLS 1.[23], implementation
+    @item @code{gost3410.KEK2012*} can be used with any curves, not only 512-bit ones
+    @item @code{gost3410.PrivateKey} satisfies @code{crypto.Signer} interface
+    @item @code{gost34112012*} hashes satisfy @code{encoding.Binary(Un)Marshaler}
+    @item Streebog256 HKDF test vectors
+    @end itemize
+
 @anchor{Release 3.0}
 @item 3.0
     @itemize
index 8077f135d867d522fbe2188ade3de0cf85a7ff07..7ea219965b91aed0edee4222ddd1e898c9ff1c9b 100644 (file)
--- a/www.texi
+++ b/www.texi
@@ -49,6 +49,7 @@ Currently supported algorithms are:
 @item GOST R 34.12-2015 64-bit block cipher Магма (Magma)
 @item GOST R 34.13-2015 padding methods
 @item MGM AEAD mode for 64 and 128 bit ciphers
+@item TLSTREE keyscheduling function
 @end itemize
 
 Please send questions, bug reports and patches to