Open-source aspects of GOST Cryptography
 help / color / mirror / Atom feed
From: Vitaly Chikunov <vt@altlinux.org>
To: oss-gost-crypto@lists.altlinux.org
Subject: Re: [oss-gost-crypto] ГОСТ 34.10 и  CryptoAPI (FYI progress update)
Date: Sun, 16 Dec 2018 02:39:01 +0300
Message-ID: <20181215233901.eaqqps6pmy7yl3zy@sole.flsd.net> (raw)
In-Reply-To: <20181215180248.4tgxjomzs2qd6fsi@sole.flsd.net>

On Sat, Dec 15, 2018 at 09:02:49PM +0300, Vitaly Chikunov wrote:
>     id-GostR3410-2001-CryptoPro-A-ParamSet (256-bit)
>     id-tc26-gost-3410-12-512-paramSetA
> 
> Работают (более менее) оптимизированные алгоритмы, но надо ещё точнее
> проверить скорость. Субъективно 512-битный вариант работает "быстрее
> чем 0.1 в секунду", что можно оценить как "очень плохо".
> 
> 8. Для этих двух кривых используется не эффективное разложение по модулю,
> но это я планирую исправить, чтоб стало как у предыдущих двух:
> 
>   id-GostR3410-2001-CryptoPro-B-ParamSet (256-bit)
>   id-tc26-gost-3410-12-512-paramSetB

Я посчитал статистику точнее (на одном ядре Xeon E5630 2.53GHz):

  кривая: 100 проверок / время = проверок в секунду

  gost2012_256-A: 100 / 0.462106 = 216.4
  gost2012_256-B: 100 / 6.567137 =  15.2
  gost2012_512-A: 100 / 3.159222 =  31.6
  gost2012_512-B: 100 / 50.422690 =  1.98

Как уже говорил, gost2012_256-B можно сделать по скорости как
gost2012_256-A, а gost2012_512-B как gost2012_512-A.



      parent reply	other threads:[~2018-12-15 23:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15 18:02 Vitaly Chikunov
2018-12-15 21:40   ` Dmitry Eremin-Solenikov
2018-12-16 22:52     ` Wartan Hachaturow
2018-12-17  0:12         ` Vitaly Chikunov
2018-12-17 12:25             ` Vitaly Chikunov
2018-12-15 23:39 ` Vitaly Chikunov [this message]

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=20181215233901.eaqqps6pmy7yl3zy@sole.flsd.net \
    --to=vt@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