[PATCH 0/7] crypto: Introduce ECDSA algorithm

Lei He posted 7 patches 3 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220613084531.8086-1-helei.sig11@bytedance.com
Maintainers: "Daniel P. Berrangé" <berrange@redhat.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
There is a newer version of this series
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
[PATCH 0/7] crypto: Introduce ECDSA algorithm
Posted by Lei He 3 years, 8 months ago
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