mbox

[PULL,0/4] Crypto fixes patches

Message ID 20241105184115.381511-1-berrange@redhat.com (mailing list archive)
State New
Headers show

Pull-request

https://gitlab.com/berrange/qemu tags/crypto-fixes-pull-request

Message

Daniel P. Berrangé Nov. 5, 2024, 6:41 p.m. UTC
The following changes since commit 44a9394b1d272b53306d097d4bc20ff7ad14b159:

  Merge tag 'pull-nvme-20241104' of https://gitlab.com/birkelund/qemu into staging (2024-11-05 14:23:22 +0000)

are available in the Git repository at:

  https://gitlab.com/berrange/qemu tags/crypto-fixes-pull-request

for you to fetch changes up to a7e42752324a264439bef28da3ee3e2563cf0e16:

  crypto: perform runtime check for hash/hmac support in gcrypt (2024-11-05 18:37:18 +0000)

----------------------------------------------------------------
* Remove deprecated 'loaded' property from crypto objects
* Fix error checking of hash function in gcrypt
* Perform runtime check for hash functions in gcrypt
* Add SM3 hash function to pbkdf

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

Daniel P. Berrangé (3):
  crypto: purge 'loaded' property that was not fully removed
  crypto: fix error check on gcry_md_open
  crypto: perform runtime check for hash/hmac support in gcrypt

liequan che (1):
  crypto: Introduce SM3 hash hmac pbkdf algorithm

 crypto/hash-gcrypt.c            |  9 ++++--
 crypto/hash-nettle.c            | 14 +++++++++
 crypto/hash.c                   |  3 ++
 crypto/hmac-gcrypt.c            |  5 ++-
 crypto/hmac-nettle.c            | 11 +++++++
 crypto/pbkdf-gcrypt.c           |  6 ++++
 crypto/pbkdf-nettle.c           | 13 ++++++++
 crypto/secret_common.c          | 12 --------
 crypto/tlscredsanon.c           | 35 ---------------------
 crypto/tlscredspsk.c            | 34 ---------------------
 crypto/tlscredsx509.c           | 30 ------------------
 docs/about/removed-features.rst |  6 ++--
 include/crypto/hash.h           |  1 +
 meson.build                     | 39 ++++++++++++++++++++++++
 qapi/crypto.json                | 54 ++++-----------------------------
 tests/unit/test-crypto-hash.c   | 16 ++++++++++
 tests/unit/test-crypto-hmac.c   |  8 +++++
 tests/unit/test-crypto-pbkdf.c  | 16 ++++++++++
 18 files changed, 146 insertions(+), 166 deletions(-)

Comments

Peter Maydell Nov. 6, 2024, 9:27 p.m. UTC | #1
On Tue, 5 Nov 2024 at 18:42, Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> The following changes since commit 44a9394b1d272b53306d097d4bc20ff7ad14b159:
>
>   Merge tag 'pull-nvme-20241104' of https://gitlab.com/birkelund/qemu into staging (2024-11-05 14:23:22 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/berrange/qemu tags/crypto-fixes-pull-request
>
> for you to fetch changes up to a7e42752324a264439bef28da3ee3e2563cf0e16:
>
>   crypto: perform runtime check for hash/hmac support in gcrypt (2024-11-05 18:37:18 +0000)
>
> ----------------------------------------------------------------
> * Remove deprecated 'loaded' property from crypto objects
> * Fix error checking of hash function in gcrypt
> * Perform runtime check for hash functions in gcrypt
> * Add SM3 hash function to pbkdf
>
> ----------------------------------------------------------------


Applied, thanks.

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

-- PMM