From: zhenwei pi <pizhenwei@bytedance.com>
To: arei.gonglei@huawei.com, mst@redhat.com, berrange@redhat.com
Cc: qemu-devel@nongnu.org, zhenwei pi <pizhenwei@bytedance.com>,
helei.sig11@bytedance.com
Subject: [PATCH 0/3] Support akcipher for virtio-crypto
Date: Fri, 21 Jan 2022 10:26:57 +0800 [thread overview]
Message-ID: <20220121022700.1042649-1-pizhenwei@bytedance.com> (raw)
- Support akcipher for virtio-crypto.
- Introduce akcipher class.
- Introduce ASN1 decoder into QEMU.
- Implement RSA backend by nettle/hogweed.
Lei He (1):
crypto: Introduce RSA algorithm
Zhenwei Pi (2):
virtio-crypto: header update
virtio_crypto: Support virtio crypto asym operation
backends/cryptodev-builtin.c | 201 ++++++--
backends/cryptodev-vhost-user.c | 34 +-
backends/cryptodev.c | 32 +-
crypto/akcipher-nettle.c | 486 ++++++++++++++++++
crypto/akcipher.c | 91 ++++
crypto/asn1_decoder.c | 185 +++++++
crypto/asn1_decoder.h | 42 ++
crypto/meson.build | 4 +
hw/virtio/virtio-crypto.c | 328 +++++++++---
include/crypto/akcipher.h | 77 +++
include/hw/virtio/virtio-crypto.h | 5 +-
.../standard-headers/linux/virtio_crypto.h | 98 +++-
include/sysemu/cryptodev.h | 88 +++-
meson.build | 11 +
14 files changed, 1526 insertions(+), 156 deletions(-)
create mode 100644 crypto/akcipher-nettle.c
create mode 100644 crypto/akcipher.c
create mode 100644 crypto/asn1_decoder.c
create mode 100644 crypto/asn1_decoder.h
create mode 100644 include/crypto/akcipher.h
--
2.25.1
next reply other threads:[~2022-01-21 2:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-21 2:26 zhenwei pi [this message]
2022-01-21 2:26 ` [PATCH 1/3] virtio-crypto: header update zhenwei pi
2022-01-21 2:26 ` [PATCH 2/3] virtio_crypto: Support virtio crypto asym operation zhenwei pi
2022-01-21 2:27 ` [PATCH 3/3] crypto: Introduce RSA algorithm zhenwei pi
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=20220121022700.1042649-1-pizhenwei@bytedance.com \
--to=pizhenwei@bytedance.com \
--cc=arei.gonglei@huawei.com \
--cc=berrange@redhat.com \
--cc=helei.sig11@bytedance.com \
--cc=mst@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.