Open-source aspects of GOST Cryptography
 help / color / mirror / Atom feed
From: Vitaly Chikunov <>
To: Open-source aspects of GOST Cryptography
Subject: Re: [oss-gost-crypto] "Об open-source реализациях хэш-функции ГОСТ Р 34.11-2012"
Date: Sat, 25 May 2019 23:03:13 +0300
Message-ID: <> (raw)
In-Reply-To: <>

On Sun, May 05, 2019 at 12:57:21AM +0300, Vitaly Chikunov wrote:
> К слову, достаточно 64-х "\xff".
>   libgcrypt (master)$ perl -E 'print "\xff" x 64'| openssl dgst -md_gost12_256 -r; perl -E 'print "\xff" x 64' | ./tests/gchash stribog256 -
>   964a5ab60286f106288743e2fe1a422d160898ca1bd535e831aa500cfe34d7e8 *stdin
>   6cad1fb10486524958e90756a6e72ab717d89842634004a0958582d256209818  -

Заодно тест на реализацию add512:

  ~/infotecs$ perl -E 'print "\xff" x 64' > ff
  ~/infotecs$ xxd ff
  00000000: ffff ffff ffff ffff ffff ffff ffff ffff  ................
  00000010: ffff ffff ffff ffff ffff ffff ffff ffff  ................
  00000020: ffff ffff ffff ffff ffff ffff ffff ffff  ................
  00000030: ffff ffff ffff ffff ffff ffff ffff ffff  ................

  ~/infotecs$ ./vipnethashcalc-tool ff --hash-alg Gost12S256
  Вычисленное значение хэш-функции: 6CAD1FB10486524958E90756A6E72AB717D89842634004A0958582D256209818

Значение хэша у ViPNet Hash Calculation Tool соответствует
реализации с ошибкой.

ps. На всякий случай:

  ~/infotecs$ ./vipnethashcalc-tool ff --hash-alg Gost94
  Вычисленное значение хэш-функции: 8505D4623B76E757B63A4F9ADFF2413BAB457560A6A41A7D0056B909CDDD3D6C

  reply	other threads:[~2019-05-25 20:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-02 12:41 Vitaly Chikunov
2019-05-04 21:33 ` Dmitry Eremin-Solenikov
2019-05-04 21:57     ` Vitaly Chikunov
2019-05-25 20:03       ` Vitaly Chikunov [this message]
2019-05-25 21:32         ` Vitaly Chikunov
2020-01-13  5:07           ` Vitaly Chikunov
2020-01-13  5:55             ` Wartan Hachaturow
2020-01-13  8:22               ` [oss-gost-crypto] Streebog padding bug Ex: "Об open-source реализациях Vitaly Chikunov
2019-05-25 19:53   ` [oss-gost-crypto] "Об open-source реализациях хэш-функции ГОСТ Р 34.11-2012" Dmitry Eremin-Solenikov
2019-07-09 15:20     ` Vitaly Chikunov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Open-source aspects of GOST Cryptography

This inbox may be cloned and mirrored by anyone:

	git clone --mirror oss-gost-crypto/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 oss-gost-crypto oss-gost-crypto/ \
	public-inbox-index oss-gost-crypto

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone