X-Git-Url: http://www.git.cypherpunks.ru/?p=gogost.git;a=blobdiff_plain;f=install.texi;h=dcb8b25f2604ba50ea4c5fe23a830f3e759a5442;hp=c7b52c7260b54073a6fed7838a0910ee818f1f4f;hb=f4078e53da769ade0d92e80ad9093040e7f71d58;hpb=7711d3fca429d8d19fd8a6923894633b1d3d8f32 diff --git a/install.texi b/install.texi index c7b52c7..dcb8b25 100644 --- a/install.texi +++ b/install.texi @@ -1,8 +1,6 @@ @node Download @unnumbered Download -@set VERSION 4.2.4 - Preferable way is to download tarball with the signature from website and, for example, run tests with benchmarks: @@ -12,20 +10,16 @@ $ [fetch|wget] http://www.gogost.cypherpunks.ru/gogost-@value{VERSION}.tar.xz.si $ gpg --verify gogost-@value{VERSION}.tar.xz.sig gogost-@value{VERSION}.tar.xz $ xz --decompress --stdout gogost-@value{VERSION}.tar.xz | tar xf - $ cd gogost-@value{VERSION} -$ redo bench -$ redo all +$ redo bench all $ echo hello world | ./streebog256 f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d @end example It uses @url{http://cr.yp.to/redo.html, redo} build system for that examples. You can use either dozen of various implementations, or at -least minimalistic POSIX shell @code{apenwarr/do}: - -@example -$ [fetch|wget] https://github.com/apenwarr/redo/raw/master/minimal/do -$ mv do redo ; chmod +x redo -@end example +least minimalistic POSIX shell @command{contrib/do} (just replace +@command{redo} with @command{contrib/do} in the example above) included +in tarball. @include download.texi @@ -44,7 +38,7 @@ import ( "encoding/hex" "fmt" - "go.cypherpunks.ru/gogost/v4/gost34112012256" + "go.cypherpunks.ru/gogost/v5/gost34112012256" ) func main() @{ @@ -103,8 +97,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