[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 0/7] crypto asymmetric cipher patches
From: |
Richard Henderson |
Subject: |
Re: [PULL 0/7] crypto asymmetric cipher patches |
Date: |
Thu, 26 May 2022 09:18:15 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 5/26/22 03:45, Daniel P. Berrangé wrote:
The following changes since commit 58b53669e87fed0d70903e05cd42079fbbdbc195:
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
(2022-05-25 13:46:29 -0700)
are available in the Git repository at:
https://gitlab.com/berrange/qemu tags/ak-pull-request
for you to fetch changes up to f0cfb761bc6e590d648b759e6bdb8c946062b5f5:
tests/crypto: Add test suite for RSA keys (2022-05-26 11:41:56 +0100)
----------------------------------------------------------------
Merge asymmetric cipher crypto support
This extends the internal crypto APIs to support the use of asymmetric
ciphers.
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/7.1 as
appropriate.
r~
----------------------------------------------------------------
Lei He (6):
qapi: crypto-akcipher: Introduce akcipher types to qapi
crypto: add ASN.1 DER decoder
crypto: Implement RSA algorithm by hogweed
crypto: Implement RSA algorithm by gcrypt
test/crypto: Add test suite for crypto akcipher
tests/crypto: Add test suite for RSA keys
Zhenwei Pi (1):
crypto: Introduce akcipher crypto class
crypto/akcipher-gcrypt.c.inc | 595 ++++++++++++++
crypto/akcipher-nettle.c.inc | 451 +++++++++++
crypto/akcipher.c | 108 +++
crypto/akcipherpriv.h | 55 ++
crypto/der.c | 189 +++++
crypto/der.h | 81 ++
crypto/meson.build | 6 +
crypto/rsakey-builtin.c.inc | 200 +++++
crypto/rsakey-nettle.c.inc | 158 ++++
crypto/rsakey.c | 44 ++
crypto/rsakey.h | 92 +++
include/crypto/akcipher.h | 158 ++++
meson.build | 11 +
qapi/crypto.json | 64 ++
tests/bench/benchmark-crypto-akcipher.c | 137 ++++
tests/bench/meson.build | 1 +
tests/bench/test_akcipher_keys.inc | 537 +++++++++++++
tests/unit/meson.build | 2 +
tests/unit/test-crypto-akcipher.c | 990 ++++++++++++++++++++++++
tests/unit/test-crypto-der.c | 290 +++++++
20 files changed, 4169 insertions(+)
create mode 100644 crypto/akcipher-gcrypt.c.inc
create mode 100644 crypto/akcipher-nettle.c.inc
create mode 100644 crypto/akcipher.c
create mode 100644 crypto/akcipherpriv.h
create mode 100644 crypto/der.c
create mode 100644 crypto/der.h
create mode 100644 crypto/rsakey-builtin.c.inc
create mode 100644 crypto/rsakey-nettle.c.inc
create mode 100644 crypto/rsakey.c
create mode 100644 crypto/rsakey.h
create mode 100644 include/crypto/akcipher.h
create mode 100644 tests/bench/benchmark-crypto-akcipher.c
create mode 100644 tests/bench/test_akcipher_keys.inc
create mode 100644 tests/unit/test-crypto-akcipher.c
create mode 100644 tests/unit/test-crypto-der.c
- [PULL 0/7] crypto asymmetric cipher patches, Daniel P . Berrangé, 2022/05/26
- [PULL 1/7] qapi: crypto-akcipher: Introduce akcipher types to qapi, Daniel P . Berrangé, 2022/05/26
- [PULL 2/7] crypto: Introduce akcipher crypto class, Daniel P . Berrangé, 2022/05/26
- [PULL 3/7] crypto: add ASN.1 DER decoder, Daniel P . Berrangé, 2022/05/26
- [PULL 6/7] test/crypto: Add test suite for crypto akcipher, Daniel P . Berrangé, 2022/05/26
- [PULL 7/7] tests/crypto: Add test suite for RSA keys, Daniel P . Berrangé, 2022/05/26
- [PULL 4/7] crypto: Implement RSA algorithm by hogweed, Daniel P . Berrangé, 2022/05/26
- [PULL 5/7] crypto: Implement RSA algorithm by gcrypt, Daniel P . Berrangé, 2022/05/26
- Re: [PULL 0/7] crypto asymmetric cipher patches,
Richard Henderson <=