]> git.ipfire.org Git - thirdparty/openssl.git/commit
fips no-des: compile out TDES KAT
authorDimitri John Ledkov <dimitri.ledkov@surgut.co.uk>
Tue, 22 Oct 2024 10:53:02 +0000 (11:53 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 24 Oct 2024 13:27:43 +0000 (15:27 +0200)
commit9d70bba1353fa897ef0cc1b48cc00f55b155f803
tree15afd72c5cef439d70dba2e20124a1769881175e
parentfc0e79461f05406d52fca564204cb8a48f983eb5
fips no-des: compile out TDES KAT

FIPS provider correctly supports no-des build time option and doesn't
advertise DES related algorithms. However KAT test for DES is still
attempted to be executed and fails.

This prevents configuring FIPS provider without legacy behaviour as
defined in SP 800-131Arev2. Also see #25761 internal docs.

Fix `enable-fips no-des` build option, and add a daily checker for
"legacy-free" (as much as currently feasible) FIPS configuration.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25762)
providers/fips/self_test_data.inc