@node Download
@unnumbered Download
-@set VERSION 4.3.0
+@set VERSION 4.3.1
Preferable way is to download tarball with the signature from
website and, for example, run tests with benchmarks:
$ 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} included in tarball.
@include download.texi
rm module-name.do clean.do
echo $mod_name > module-name
find . -name "*.do" -exec perl -i -npe "s/^go/GOPATH=\`pwd\` go/" {} \;
+perl -i -npe "s/UNKNOWN/v$release/" src/$mod_name/gogost.go
+mkdir contrib
+cp ~/work/redo/minimal/do contrib/do
mkdir -p src/golang.org/x/crypto
( cd $GOPATH/pkg/mod/$crypto_mod_path ; \
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
+chmod 755 contrib/do
cd ..
tar cvf gogost-"$release".tar --uid=0 --gid=0 --numeric-owner gogost-"$release"