qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Eric Blake" <eblake@redhat.com>
Subject: [PULL 0/7] crypto asymmetric cipher patches
Date: Thu, 26 May 2022 11:45:34 +0100	[thread overview]
Message-ID: <20220526104541.492781-1-berrange@redhat.com> (raw)

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.

----------------------------------------------------------------

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

-- 
2.36.1




             reply	other threads:[~2022-05-26 10:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26 10:45 Daniel P. Berrangé [this message]
2022-05-26 10:45 ` [PULL 1/7] qapi: crypto-akcipher: Introduce akcipher types to qapi Daniel P. Berrangé
2022-05-26 10:45 ` [PULL 2/7] crypto: Introduce akcipher crypto class Daniel P. Berrangé
2022-05-26 10:45 ` [PULL 3/7] crypto: add ASN.1 DER decoder Daniel P. Berrangé
2022-05-26 10:45 ` [PULL 4/7] crypto: Implement RSA algorithm by hogweed Daniel P. Berrangé
2022-05-26 10:45 ` [PULL 5/7] crypto: Implement RSA algorithm by gcrypt Daniel P. Berrangé
2022-05-26 10:45 ` [PULL 6/7] test/crypto: Add test suite for crypto akcipher Daniel P. Berrangé
2022-05-26 10:45 ` [PULL 7/7] tests/crypto: Add test suite for RSA keys Daniel P. Berrangé
2022-05-26 16:18 ` [PULL 0/7] crypto asymmetric cipher patches Richard Henderson

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=20220526104541.492781-1-berrange@redhat.com \
    --to=berrange@redhat.com \
    --cc=armbru@redhat.com \
    --cc=eblake@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 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).