[openssl/openssl] 0c7d6a: des: prevent error when using two key triple DES w...
Pauli
noreply at github.com
Wed Feb 8 10:56:45 UTC 2023
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 0c7d6a5557f91cbacbd9534e17cf8a90c3d57952
https://github.com/openssl/openssl/commit/0c7d6a5557f91cbacbd9534e17cf8a90c3d57952
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)
(cherry picked from commit 587e0407803af330c0b04238fcbce78521ce35d7)
More information about the openssl-commits
mailing list