From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: Wartan Hachaturow <wartan.hachaturow@gmail.com>
Cc: oss-gost-crypto@lists.altlinux.org
Subject: Re: [oss-gost-crypto] [PATCH 1/3] Add GOST 28147-89 generic implementation
Date: Sun, 30 Sep 2018 12:44:08 +0300
Message-ID: <CALT56yMsi0m4gdgPhyi_brCe64JkqvkHtCStn2cnJvQ=dMra6g@mail.gmail.com> (raw)
In-Reply-To: <878t3jqqr8.fsf@gmail.com>
Привет,
вс, 30 сент. 2018 г. в 12:27, Wartan Hachaturow <wartan.hachaturow@gmail.com>:
> Посмотрите, вот магма для cryptoapi, прикладывается на текущий линусовый
> HEAD.
Используй, пожалуйста, git-send-email. А то патчи не прокомментировать толком.
- Я бы регистрировал отдельные типы алгоритмов, по одному под каждый S-Box.
Тогда set_key может сразу и ключ ставить, и нужный s-box выбрать.
- Если ты хочешь добавлять поддержку 34.11-94 и имитовставки из 28147-89,
лучше EXPORT_SYMBOL'нуть функции, которые работают с crypto_gost28147_ctx
(encrypt, decrypt, set_key, set_param), а не crypto_gost28147_set_key, которая
не особо поможет.
- параметры тоже надо EXPORT_SYMBOL'нуть.
- упоминание AES в коментариях к функциям
- Kconfig надо дополнить упоминаниями RFC и ГОСТ'ов, ссылка на tc26
будет не особо понятна.
Я бы вынес эти патчи в какой-нибудь репозиторий, чтобы можно было
работать совместно. Я создавал на github/gitlab организации GostCrypt
для своих патчей. Могу тебя туда добавить.
--
With best wishes
Dmitry
prev parent reply other threads:[~2018-09-30 9:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-30 9:27 Wartan Hachaturow
2018-09-30 9:44 ` Dmitry Eremin-Solenikov [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='CALT56yMsi0m4gdgPhyi_brCe64JkqvkHtCStn2cnJvQ=dMra6g@mail.gmail.com' \
--to=dbaryshkov@gmail.com \
--cc=oss-gost-crypto@lists.altlinux.org \
--cc=wartan.hachaturow@gmail.com \
/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