From: Lei He <helei.sig11@bytedance.com>
To: mst@redhat.com, arei.gonglei@huawei.com, berrange@redhat.com,
qemu-devel@nongnu.org
Cc: helei.sig11@bytedance.com, pizhenwei@bytedance.com, jasowang@redhat.com
Subject: [PATCH 0/7] crypto: Introduce ECDSA algorithm
Date: Mon, 13 Jun 2022 16:45:24 +0800 [thread overview]
Message-ID: <20220613084531.8086-1-helei.sig11@bytedance.com> (raw)
This patch introduced ECDSA algorithm for crypto:
1. make the built-in ASN.1 decoder support more ASN.1 types.
2. support ECDSA key and signature parsing.
3. implement the ECDSA algorithm using nettle and gcrypt respectively.
Lei He (7):
crypto: Introduce ECDSA algorithm API
crypto: Support more ASN.1 types
crypto: remove "qemu/osdep.h" in rsakey.h
crypto: Add ECDSA key parser
crypto: Implement ECDSA algorithm by hogweed
crypto: Implement ECDSA algorithm by gcrypt
crypto: Add test suite for ECDSA algorithm
crypto/akcipher-gcrypt.c.inc | 400 ++++++++++++++++++++++++++++++++++++++
crypto/akcipher-nettle.c.inc | 268 +++++++++++++++++++++++++
crypto/der.c | 174 +++++++++++++++--
crypto/der.h | 128 +++++++++++-
crypto/ecdsakey-builtin.c.inc | 248 +++++++++++++++++++++++
crypto/ecdsakey.c | 118 +++++++++++
crypto/ecdsakey.h | 66 +++++++
crypto/meson.build | 1 +
crypto/rsakey.c | 1 +
crypto/rsakey.h | 1 -
qapi/crypto.json | 28 ++-
tests/unit/test-crypto-akcipher.c | 227 +++++++++++++++++++--
tests/unit/test-crypto-der.c | 126 +++++++++---
13 files changed, 1722 insertions(+), 64 deletions(-)
create mode 100644 crypto/ecdsakey-builtin.c.inc
create mode 100644 crypto/ecdsakey.c
create mode 100644 crypto/ecdsakey.h
--
2.11.0
next reply other threads:[~2022-06-13 8:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-13 8:45 Lei He [this message]
2022-06-13 8:45 ` [PATCH 1/7] crypto: Introduce ECDSA algorithm API Lei He
2022-06-14 6:51 ` Philippe Mathieu-Daudé via
2022-06-17 11:14 ` Daniel P. Berrangé
2022-06-13 8:45 ` [PATCH 2/7] crypto: Support more ASN.1 types Lei He
2022-06-17 11:20 ` Daniel P. Berrangé
2022-06-13 8:45 ` [PATCH 3/7] crypto: remove "qemu/osdep.h" in rsakey.h Lei He
2022-06-13 13:55 ` Philippe Mathieu-Daudé via
2022-06-17 11:20 ` Daniel P. Berrangé
2022-06-13 8:45 ` [PATCH 4/7] crypto: Add ECDSA key parser Lei He
2022-06-13 14:19 ` Philippe Mathieu-Daudé via
2022-06-14 1:43 ` [Phishing Risk] [External] " 何磊
2022-06-14 6:48 ` Philippe Mathieu-Daudé via
2022-06-16 16:44 ` Michael S. Tsirkin
2022-06-17 11:34 ` Daniel P. Berrangé
2022-06-13 8:45 ` [PATCH 5/7] crypto: Implement ECDSA algorithm by hogweed Lei He
2022-06-17 11:35 ` Daniel P. Berrangé
2022-06-13 8:45 ` [PATCH 6/7] crypto: Implement ECDSA algorithm by gcrypt Lei He
2022-06-17 13:41 ` Daniel P. Berrangé
2022-06-13 8:45 ` [PATCH 7/7] crypto: Add test suite for ECDSA algorithm Lei He
2022-06-17 13:42 ` Daniel P. Berrangé
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=20220613084531.8086-1-helei.sig11@bytedance.com \
--to=helei.sig11@bytedance.com \
--cc=arei.gonglei@huawei.com \
--cc=berrange@redhat.com \
--cc=jasowang@redhat.com \
--cc=mst@redhat.com \
--cc=pizhenwei@bytedance.com \
--cc=qemu-devel@nongnu.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).