+++ /dev/null
-* 28147-89 and CryptoPro key wrapping (RFC 4357)
-* 28147-89 CryptoPro key meshing for CFB mode (RFC 4357)
+++ /dev/null
-redo-ifchange gogost.go
-perl -ne 'print "$1\n" if /Version.*"(.*)"$/' < gogost.go
+++ /dev/null
-redo-ifchange streebog256 streebog512
--- /dev/null
+#!/bin/sh -e
+
+exec go test -benchmem -bench . ./...
+++ /dev/null
-exec >&2
-go test -benchmem -bench . ./...
+++ /dev/null
-rm -f streebog256 streebog512 VERSION
+++ /dev/null
-go build -o $3 ./cmd/$1
$ gpg --verify gogost-@value{VERSION}.tar.zst.asc gogost-@value{VERSION}.tar.zst
$ zstd --decompress --stdout gogost-@value{VERSION}.tar.zst | tar xf -
$ cd gogost-@value{VERSION}
-$ redo all
+$ go build -mod=vendor -o streebog256 ./cmd/streebog256
$ 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 @command{contrib/do} (just replace
-@command{redo} with @command{contrib/do} in the example above) included
-in tarball.
-
@include download.texi
And then you can include its source code in your project for example
git clone . $tmp/gogost-$release
cd $tmp/gogost-$release
git checkout v$release
-redo VERSION
+./version > VERSION
go mod vendor
-mkdir contrib
-cp ~/work/redo/apenwarr/minimal/do contrib/do
cat > download.texi <<EOF
You can obtain releases source code prepared tarballs on
rm -rf .git
redo-cleanup full
-rm -f \
- $texi \
- *.texi \
- .gitignore \
- clean.do \
- makedist.sh \
- style.css \
- TODO \
- VERSION.do \
- www.do
-
-perl -i -npe "s/build/build -mod=vendor/" default.do
-perl -i -npe "s/test/test -mod=vendor/" bench.do
+rm -f $texi *.texi makedist version www.do
+
+perl -i -npe "s/test/test -mod=vendor/" bench
find . -type d -exec chmod 755 {} +
find . -type f -exec chmod 644 {} +
-chmod +x contrib/do
+chmod +x bench
cd ..
tar cvf gogost-"$release".tar --uid=0 --gid=0 --numeric-owner gogost-"$release"
--- /dev/null
+#!/bin/sh -e
+
+exec perl -ne 'print "$1\n" if /Version.*"(.*)"$/' < "$(realpath -- $(dirname "$0"))"/gogost.go
-redo-ifchange *.texi VERSION
+redo-ifchange *.texi
html=gogost.html
rm -f $html/*.html
${MAKEINFO:-makeinfo} --html \
- -D "VERSION `cat VERSION`" \
+ -D "VERSION `./VERSION`" \
--set-customization-variable NO_CSS=1 \
--set-customization-variable SECTION_NAME_IN_TITLE=1 \
--set-customization-variable TREE_TRANSFORMATIONS=complete_tree_nodes_menus \