From: Vitaly Chikunov <vt@altlinux.org> To: Open-source aspects of GOST Cryptography <oss-gost-crypto@lists.altlinux.org> Subject: Re: [oss-gost-crypto] Linux с криптографией ГОСТ Date: Sat, 17 Nov 2018 20:02:37 +0300 Message-ID: <20181117170236.jci7o7ctnhq2xnzi@sole.flsd.net> (raw) In-Reply-To: <CADqLbzKKkRdjp_HkQp4vhdCrfhtOwj7Rfs3BLpvSn2digC+X3g@mail.gmail.com> Dmitry, On Sat, Nov 17, 2018 at 11:52:30AM +0300, Dmitry Belyavsky wrote: > Поздравляю! > > 2. В ima-evm-utils используется openssl, и хэш вынимается по имени > через > EVP_get_digestbyname(). Для Стрибога в openssl прописаны имена > "md_gost12_256" и "md_gost12_512". Это не проблема. Но было бы > лучше, > чтоб можно было использовать алиасы со streebog в имени. > > Можно добавить в инициализацию engine вызовы > EVP_add_digest_alias(SN_id_GostR3411_2012_256, "streebog256"); > EVP_add_digest_alias(SN_id_GostR3411_2012_512, "streebog512"); > И, соответственно, > EVP_delete_digest_alias("streebog256"); > EVP_delete_digest_alias("streebog512"); > куда-нибудь в деструктор. Спасибо. > Ты сейчас какую версию используешь? В ima-evm-utils есть код для OPENSSL_VERSION_NUMBER как до так и после 0x10100000. А для Альта скорее всего надо только от 1.1 и выше.
next prev parent reply other threads:[~2018-11-17 17:02 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-11-16 19:55 Vitaly Chikunov 2018-11-17 17:02 ` Vitaly Chikunov [this message] 2018-11-17 18:25 ` Vitaly Chikunov 2018-11-18 17:28 ` 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: 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=20181117170236.jci7o7ctnhq2xnzi@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