Open-source aspects of GOST Cryptography
 help / color / mirror / Atom feed
From: Paul Wolneykien <manowar@altlinux.org>
To: oss-gost-crypto@lists.altlinux.org
Subject: Re: [oss-gost-crypto] Расшифровка S/MIME
Date: Fri, 13 Sep 2019 12:45:32 +0300
Message-ID: <bc4abb23-62b2-d6fa-ed4c-e464a4a0fd7f@altlinux.org> (raw)
In-Reply-To: <CALT56yMtASy6i5rpDz7g=uH2xjSvejk4FRX8TzxkngDcbpWScg@mail.gmail.com>

13.09.2019 00:53, Dmitry Eremin-Solenikov пишет:
> Привет,
> 
> пт, 13 сент. 2019 г. в 00:05, Paul Wolneykien <manowar@altlinux.org>:
>>
>> ...
>>
>>   Прикол в том, что нормально расшифровываются только первые 1024 байта.
>> А потом явно ошибки. И вот насколько я помню из описания ГОСТ-28147, его
>> как раз нужно как-то переинициализировать по прошествии 1024 байтов. И
>> похоже, что Libgcrypt этого или не делает, или я не умею его готовить.
> 
> Да, у меня не был дописан CryptoPro meshing для gost. Если нужен, давай обсудим
> интерфейс и я его протолкну Вернеру.

  Может быть ты и gpgsm заодно протолкнёшь? :-)

  Интерфейс, я думаю, такой же как для установки S-box:

    gcry_cipher_ctl (hd, GCRYCTL_SET_KEYMESHING, buf, len)

допустим. В OpenSSL тоже через gost_cipher_ctl() сделано, с аналогичным
интерфейсом. В качестве аргумента *buf тоже, наверное, какая-то
константа, вроде ..._CRYPTOPRO_KEYMESHING. Не знаю только, куда её в
Libgcrypt засунуть: в enum или в define и в какой раздел?


  reply	other threads:[~2019-09-13  9:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12 21:05 Paul Wolneykien
2019-09-12 21:53 ` Dmitry Eremin-Solenikov
2019-09-13  9:45   ` Paul Wolneykien [this message]
2019-09-13 10:13     ` Dmitry Eremin-Solenikov
2019-09-13 10:30       ` Paul Wolneykien
2019-09-13 11:30         ` Dmitry Eremin-Solenikov
2019-09-13 11:38           ` Paul Wolneykien
2019-09-13 11:55             ` Dmitry Eremin-Solenikov

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=bc4abb23-62b2-d6fa-ed4c-e464a4a0fd7f@altlinux.org \
    --to=manowar@altlinux.org \
    --cc=oss-gost-crypto@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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 http://lore.altlinux.org/oss-gost-crypto/0 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/ http://lore.altlinux.org/oss-gost-crypto \
		oss-gost-crypto@lists.altlinux.org oss-gost-crypto@lists.altlinux.ru oss-gost-crypto@lists.altlinux.com
	public-inbox-index oss-gost-crypto

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.oss-gost-crypto


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git