[openssl/openssl] 650b14: siphash: Fail finalization on uninitialized siphas...

Tomas Mraz noreply at reply.github.openssl.org
Wed Apr 27 08:05:39 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 650b142c2e4c1d57868bdbbe1f7f4549ee77f8eb
      https://github.openssl.org/openssl/openssl/commit/650b142c2e4c1d57868bdbbe1f7f4549ee77f8eb
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M crypto/siphash/siphash.c

  Log Message:
  -----------
  siphash: Fail finalization on uninitialized siphash context

Fixes #18140

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18142)


  Commit: 905fec4f4d6bb8a978476cbce0f293ffc683b5fd
      https://github.openssl.org/openssl/openssl/commit/905fec4f4d6bb8a978476cbce0f293ffc683b5fd
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M providers/implementations/macs/siphash_prov.c

  Log Message:
  -----------
  siphash: Properly set mac size in sipcopy

Also fully duplicate the context on dup

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18142)


  Commit: 4b694f29ea78ab8a94e67c89d4d81df18c5e3bf1
      https://github.openssl.org/openssl/openssl/commit/4b694f29ea78ab8a94e67c89d4d81df18c5e3bf1
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M test/siphash_internal_test.c

  Log Message:
  -----------
  Test that SipHash_Final() fails on uninited context

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18142)


Compare: https://github.openssl.org/openssl/openssl/compare/1d64b068ca74...4b694f29ea78


More information about the openssl-commits mailing list