[PATCH 0/5] Bump min versions of crypto libs

Daniel P. Berrangé posted 5 patches 1 week, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251031153056.296078-1-berrange@redhat.com
Maintainers: "Daniel P. Berrangé" <berrange@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
crypto/cipher-gnutls.c.inc     |   8 -
crypto/cipher-nettle.c.inc     |  44 ---
crypto/cipher.c                |   2 +-
crypto/meson.build             |   5 +-
crypto/xts.c                   | 250 ----------------
include/crypto/xts.h           |  82 -----
meson.build                    |  69 +----
tests/unit/meson.build         |   3 -
tests/unit/test-crypto-block.c |   3 +-
tests/unit/test-crypto-xts.c   | 529 ---------------------------------
10 files changed, 9 insertions(+), 986 deletions(-)
delete mode 100644 crypto/xts.c
delete mode 100644 include/crypto/xts.h
delete mode 100644 tests/unit/test-crypto-xts.c
[PATCH 0/5] Bump min versions of crypto libs
Posted by Daniel P. Berrangé 1 week, 6 days ago
gnutls, libgcrypt and nettle can all have their min versions increased
based on our platform support matrix, enabling various bits of compat
logic to be dropped, as well as eliminating the last usage of in-tree
XTS code.

Daniel P. Berrangé (5):
  crypto: bump min gnutls to 3.7.5
  crypto: unconditionally enable gnutls XTS support
  crypto: bump min libgcrypt to 1.9.4
  crypto: bump min nettle to 3.7.3
  crypto: drop in-tree XTS cipher mode impl

 crypto/cipher-gnutls.c.inc     |   8 -
 crypto/cipher-nettle.c.inc     |  44 ---
 crypto/cipher.c                |   2 +-
 crypto/meson.build             |   5 +-
 crypto/xts.c                   | 250 ----------------
 include/crypto/xts.h           |  82 -----
 meson.build                    |  69 +----
 tests/unit/meson.build         |   3 -
 tests/unit/test-crypto-block.c |   3 +-
 tests/unit/test-crypto-xts.c   | 529 ---------------------------------
 10 files changed, 9 insertions(+), 986 deletions(-)
 delete mode 100644 crypto/xts.c
 delete mode 100644 include/crypto/xts.h
 delete mode 100644 tests/unit/test-crypto-xts.c

-- 
2.51.1


Re: [PATCH 0/5] Bump min versions of crypto libs
Posted by Marc-André Lureau 1 week, 6 days ago
Hi

On Fri, Oct 31, 2025 at 7:31 PM Daniel P. Berrangé <berrange@redhat.com>
wrote:

> gnutls, libgcrypt and nettle can all have their min versions increased
> based on our platform support matrix, enabling various bits of compat
> logic to be dropped, as well as eliminating the last usage of in-tree
> XTS code.
>
> Daniel P. Berrangé (5):
>   crypto: bump min gnutls to 3.7.5
>   crypto: unconditionally enable gnutls XTS support
>   crypto: bump min libgcrypt to 1.9.4
>   crypto: bump min nettle to 3.7.3
>   crypto: drop in-tree XTS cipher mode impl
>

Series
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>


>
>  crypto/cipher-gnutls.c.inc     |   8 -
>  crypto/cipher-nettle.c.inc     |  44 ---
>  crypto/cipher.c                |   2 +-
>  crypto/meson.build             |   5 +-
>  crypto/xts.c                   | 250 ----------------
>  include/crypto/xts.h           |  82 -----
>  meson.build                    |  69 +----
>  tests/unit/meson.build         |   3 -
>  tests/unit/test-crypto-block.c |   3 +-
>  tests/unit/test-crypto-xts.c   | 529 ---------------------------------
>  10 files changed, 9 insertions(+), 986 deletions(-)
>  delete mode 100644 crypto/xts.c
>  delete mode 100644 include/crypto/xts.h
>  delete mode 100644 tests/unit/test-crypto-xts.c
>
> --
> 2.51.1
>
>