X-Git-Url: http://www.git.cypherpunks.ru/?p=gogost.git;a=blobdiff_plain;f=INSTALL;h=22565efcf353e7069072c94417f6b3fedeca58a4;hp=06e6e6725fdd95162c57937c42cfb042b720a63a;hb=ce6c45e481a59d843a3b9caab55608c738aac2f4;hpb=1072e0c400df930802a114c8f76b477ae934738b diff --git a/INSTALL b/INSTALL index 06e6e67..22565ef 100644 --- a/INSTALL +++ b/INSTALL @@ -1,19 +1,19 @@ Preferable way is to download tarball with the signature from official website and, for example, run tests with benchmarks: - $ wget http://gogost.cypherpunks.ru/gogost-4.1.0.tar.xz - $ wget http://gogost.cypherpunks.ru/gogost-4.1.0.tar.xz.sig - $ gpg --verify gogost-4.1.0.tar.xz.sig gogost-4.1.0.tar.xz - $ xz -d < gogost-4.1.0.tar.xz | tar xf - - $ make -C gogost-4.1.0 all bench - $ echo hello world | ./gogost-4.1.0/streebog256 + $ wget http://gogost.cypherpunks.ru/gogost-4.2.0.tar.xz + $ wget http://gogost.cypherpunks.ru/gogost-4.2.0.tar.xz.sig + $ gpg --verify gogost-4.2.0.tar.xz.sig gogost-4.2.0.tar.xz + $ xz -d < gogost-4.2.0.tar.xz | tar xf - + $ make -C gogost-4.2.0 all bench + $ echo hello world | ./gogost-4.2.0/streebog256 f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d And then you can include its source code in your project for example like this: $ mkdir -p myproj/src - $ cp -r gogost-4.1.0/src/go.cypherpunks.ru myproj/src + $ cp -r gogost-4.2.0/src/go.cypherpunks.ru myproj/src $ export GOPATH=$PWD/myproj $ cd myproj/src $ cat > main.go < /home/stargrave/gogost-4.1.0/src/go.cypherpunks.ru/gogost/v4 + require go.cypherpunks.ru/gogost/v4 v4.2.0 + replace go.cypherpunks.ru/gogost/v4 => /home/stargrave/gogost-4.2.0/src/go.cypherpunks.ru/gogost/v4