[openssl/openssl] 587e04: des: prevent error when using two key triple DES w...

Pauli noreply at github.com
Wed Feb 8 10:56:33 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 587e0407803af330c0b04238fcbce78521ce35d7
      https://github.com/openssl/openssl/commit/587e0407803af330c0b04238fcbce78521ce35d7
  Author: Pauli <pauli at openssl.org>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M providers/implementations/ciphers/cipher_tdes_common.c
    M test/destest.c

  Log Message:
  -----------
  des: prevent error when using two key triple DES with a random key

Two key 3DES only sets two keys and the random generation errors out if fewer
than three keys are required.  It shouldn't.

Fixes #20212

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20224)




More information about the openssl-commits mailing list