[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/3] Support akcipher for virtio-crypto
From: |
zhenwei pi |
Subject: |
[PATCH v2 0/3] Support akcipher for virtio-crypto |
Date: |
Fri, 11 Feb 2022 16:43:32 +0800 |
v1 -> v2:
- Update virtio_crypto.h from v2 version of related kernel patch.
v1:
- 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 | 82 ++-
include/sysemu/cryptodev.h | 88 +++-
meson.build | 11 +
14 files changed, 1518 insertions(+), 148 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.20.1
- [PATCH v2 0/3] Support akcipher for virtio-crypto,
zhenwei pi <=