[PULL 00/17] Crypto next patches

Daniel P. Berrangé posted 17 patches 3 years, 7 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200910100623.1088965-1-berrange@redhat.com
crypto/cipher-nettle.c                        | 733 -----------------
crypto/cipher-nettle.c.inc                    | 760 ++++++++++++++++++
crypto/cipher.c                               |  44 +-
crypto/cipherpriv.h                           |   6 +-
include/crypto/aes.h                          |   4 -
include/crypto/cipher.h                       |   4 +-
tests/benchmark-crypto-cipher.c               |  12 +-
tests/benchmark-crypto-hash.c                 |   4 +-
tests/benchmark-crypto-hmac.c                 |   7 +-
15 files changed, 1492 insertions(+), 1631 deletions(-)
delete mode 100644 crypto/cipher-builtin.c
create mode 100644 crypto/cipher-builtin.c.inc
rename crypto/{cipher-gcrypt.c =3D> cipher-gcrypt.c.inc} (52%)
delete mode 100644 crypto/cipher-nettle.c
create mode 100644 crypto/cipher-nettle.c.inc
[PULL 00/17] Crypto next patches
Posted by Daniel P. Berrangé 3 years, 7 months ago
The following changes since commit 9435a8b3dd35f1f926f1b9127e8a906217a5518a:

  Merge remote-tracking branch 'remotes/kraxel/tags/sirius/ipxe-20200908-pull=
-request' into staging (2020-09-08 21:21:13 +0100)

are available in the Git repository at:

  https://gitlab.com/berrange/qemu tags/crypt-perf-pull-request

for you to fetch changes up to 1b010d9339497b081c3b8ab4f98b2a21f2cae08d:

  crypto/gcrypt: Split QCryptoCipherGcrypt into subclasses (2020-09-10 11:02:=
23 +0100)

----------------------------------------------------------------
Improve performance of crypto cipher subsystem

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

Daniel P. Berrang=C3=A9 (1):
  tests: fix output message formatting for crypto benchmarks

Richard Henderson (16):
  crypto: Assume blocksize is a power of 2
  crypto: Rename cipher include files to .c.inc
  crypto: Remove redundant includes
  crypto/nettle: Fix xts_encrypt arguments
  crypto: Move QCryptoCipherDriver typedef to crypto/cipher.h
  crypto: Use the correct const type for driver
  crypto: Allocate QCryptoCipher with the subclass
  crypto: Move cipher->driver init to qcrypto_*_cipher_ctx_new
  crypto: Constify cipher data tables
  crypto/builtin: Remove odd-sized AES block handling
  crypto/builtin: Merge qcrypto_cipher_aes_{ecb,xts}_{en,de}crypt
  crypto/builtin: Move AES_cbc_encrypt into cipher-builtin.inc.c
  crypto/builtin: Split and simplify AES_encrypt_cbc
  crypto/builtin: Split QCryptoCipherBuiltin into subclasses
  crypto/nettle: Split QCryptoCipherNettle into subclasses
  crypto/gcrypt: Split QCryptoCipherGcrypt into subclasses

 crypto/aes.c                                  |  51 --
 crypto/afalgpriv.h                            |   3 +
 crypto/cipher-afalg.c                         |  25 +-
 crypto/cipher-builtin.c                       | 532 ------------
 crypto/cipher-builtin.c.inc                   | 435 ++++++++++
 .../{cipher-gcrypt.c =3D> cipher-gcrypt.c.inc}  | 503 ++++++------
 crypto/cipher-nettle.c                        | 733 -----------------
 crypto/cipher-nettle.c.inc                    | 760 ++++++++++++++++++
 crypto/cipher.c                               |  44 +-
 crypto/cipherpriv.h                           |   6 +-
 include/crypto/aes.h                          |   4 -
 include/crypto/cipher.h                       |   4 +-
 tests/benchmark-crypto-cipher.c               |  12 +-
 tests/benchmark-crypto-hash.c                 |   4 +-
 tests/benchmark-crypto-hmac.c                 |   7 +-
 15 files changed, 1492 insertions(+), 1631 deletions(-)
 delete mode 100644 crypto/cipher-builtin.c
 create mode 100644 crypto/cipher-builtin.c.inc
 rename crypto/{cipher-gcrypt.c =3D> cipher-gcrypt.c.inc} (52%)
 delete mode 100644 crypto/cipher-nettle.c
 create mode 100644 crypto/cipher-nettle.c.inc

--=20
2.26.2



Re: [PULL 00/17] Crypto next patches
Posted by Peter Maydell 3 years, 7 months ago
On Thu, 10 Sep 2020 at 11:07, Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> The following changes since commit 9435a8b3dd35f1f926f1b9127e8a906217a5518a:
>
>   Merge remote-tracking branch 'remotes/kraxel/tags/sirius/ipxe-20200908-pull=
> -request' into staging (2020-09-08 21:21:13 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/berrange/qemu tags/crypt-perf-pull-request
>
> for you to fetch changes up to 1b010d9339497b081c3b8ab4f98b2a21f2cae08d:
>
>   crypto/gcrypt: Split QCryptoCipherGcrypt into subclasses (2020-09-10 11:02:=
> 23 +0100)
>
> ----------------------------------------------------------------
> Improve performance of crypto cipher subsystem
>
> ----------------------------------------------------------------
>

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.2
for any user-visible changes.

-- PMM