[openssl/openssl] dcd20c: Add tests for FIPS keygen self test failures.

Shane noreply at github.com
Wed Feb 8 16:03:28 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: dcd20cc139d1a26cd94c66cc5ebc8ab85d928356
      https://github.com/openssl/openssl/commit/dcd20cc139d1a26cd94c66cc5ebc8ab85d928356
  Author: slontis <shane.lontis at oracle.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M test/build.info
    A test/pairwise_fail_test.c
    A test/recipes/30-test_pairwise_fail.t
    A test/recipes/30-test_pairwise_fail_data/dsaparam.pem

  Log Message:
  -----------
  Add tests for FIPS keygen self test failures.

During key generation RSA, EC and DSA have extra tests that run in FIPS mode
All 3 algorithms have a pairwise test, EC & DSA also run a KAT test.

This test uses the self test callback to force an error
during each of the extra pairwise and KAT tests.

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20183)




More information about the openssl-commits mailing list