[openssl/openssl] 0510f7: ossl_kdf_ctx_create(): Check for NULL KDF being fe...

Tomáš Mráz noreply at github.com
Mon Dec 5 10:38:07 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 0510f79265bf18fea5f13c1391a12397339db8b7
      https://github.com/openssl/openssl/commit/0510f79265bf18fea5f13c1391a12397339db8b7
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M crypto/hpke/hpke_util.c

  Log Message:
  -----------
  ossl_kdf_ctx_create(): Check for NULL KDF being fetched

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19784)


  Commit: 910221454bfcabf1917fa65462f4cae48be5a624
      https://github.com/openssl/openssl/commit/910221454bfcabf1917fa65462f4cae48be5a624
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M crypto/hpke/hpke.c

  Log Message:
  -----------
  hpke_aead_enc/dec(): Refactor to pass in OSSL_HPKE_CTX *

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19784)


  Commit: d9ed3068df038811211b1f9c9f2f4ee2a6840aa3
      https://github.com/openssl/openssl/commit/d9ed3068df038811211b1f9c9f2f4ee2a6840aa3
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M crypto/hpke/hpke.c
    M test/hpke_test.c

  Log Message:
  -----------
  Refactoring some operations to avoid repeated calls

Fetch the EVP_CIPHER for aead in OSSL_HPKE_CTX_new()
to avoid re-fetching on each aead operation.

Save kem/kdf/aead_info in OSSL_HPKE_CTX.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19784)


  Commit: 36b4d7a69836fdf0ede1ea00879b26047bf93056
      https://github.com/openssl/openssl/commit/36b4d7a69836fdf0ede1ea00879b26047bf93056
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M crypto/hpke/hpke_util.c
    M test/hpke_test.c

  Log Message:
  -----------
  hpke: fix tests with disabled chacha20 or poly1305

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19784)


Compare: https://github.com/openssl/openssl/compare/d861bc03ee2e...36b4d7a69836


More information about the openssl-commits mailing list