1 .\" Hey, Emacs! This is an -*- nroff -*- source file.
2 .TH GOSTSUM 1 "02 Aug 2017" "Openssl" "Debian GNU/Linux"
4 gostsum \- generates or checks GOST R34.11-94 message digests
8 [\-bvt] [\-c [file]] | [file...]
12 generates or checks GOST hash sums. The algorithm to generate the
13 is reasonably fast and strong enough for most cases. Exact
14 specification of the algorithm is in
19 generates checksums of all files given to it as a parameter and prints
20 the checksums followed by the filenames. If, however,
22 is specified, only one filename parameter is allowed. This file should
23 contain checksums and filenames to which these checksums refer to, and
24 the files listed in that file are checked against the checksums listed
32 Use binary mode. In unix environment, only difference between this and
33 the normal mode is an asterisk preceding the filename in the output.
36 Check gost hashes of all files listed in
38 against the checksum listed in the same file. The actual format of that
39 file is the same as output of
41 That is, each line in the file describes a file. A line looks like:
43 .B <hashsum> <filename>
45 So, for example, if a file was created and its message digest calculated
48 .B echo foo > hash\-test\-file; gostsum hash\-test\-file
53 1541e09d0aa5971f732991ae1bdfb63f2609edd7536b40f8c2ae7c1e2f99e072 hash-test-file
57 Be more verbose. Print filenames when checking (with \-c).
61 Use test parameter set.
62 .B gostsum supports two sets of parameters (which are really parameters
63 of GOST 28147-89 block cipher) specified in the IETF draft
64 .B draft-popov-cryptopro-cpalgs-02.txt
65 By default, cryptopro paramset is used. This option enables use of test
66 paramset as specified in appendices to the GOST.
70 The output of gost12sum has a reversed byte order compared to output of
72 command because of the Russian GOST requrements.
76 This manpage is not quite accurate and has formatting inconsistent
80 does not accept standard options like
84 Victor Wagner <vitus@wagner.pp.ru>