[openssl/openssl] eaac05: test: make unit tests FIPS provider version aware

Pauli noreply at github.com
Thu Sep 15 22:37:36 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: eaac0584db6e7452fdb627502527fb0678bb9a93
      https://github.com/openssl/openssl/commit/eaac0584db6e7452fdb627502527fb0678bb9a93
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M test/testutil.h
    M test/testutil/provider.c

  Log Message:
  -----------
  test: make unit tests FIPS provider version aware

Fixes #19171

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19201)


  Commit: 54a7bbedf43a1ade98c8f47eb8896d75f3db0165
      https://github.com/openssl/openssl/commit/54a7bbedf43a1ade98c8f47eb8896d75f3db0165
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M test/evp_test.c

  Log Message:
  -----------
  evp_test: allow FIPS provider version based escapes in evp_test

Also fix a number of regressions when run against the 3.0.0 FIPS provider
that result from bug fixes.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19201)


  Commit: 4d0249c2d1d0f81c211354d8a36738595936fad8
      https://github.com/openssl/openssl/commit/4d0249c2d1d0f81c211354d8a36738595936fad8
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M test/recipes/30-test_evp_data/evpciph_des3_common.txt

  Log Message:
  -----------
  TDES: fix test with old FIPS provider

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19201)


  Commit: 9684335839fcdeac06d21b06628c4c37117b5478
      https://github.com/openssl/openssl/commit/9684335839fcdeac06d21b06628c4c37117b5478
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M test/recipes/30-test_evp_data/evppkey_ffdhe.txt

  Log Message:
  -----------
  Fix default padding regression against 3.0.0 FIPS provider

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19201)


  Commit: c342004e07fd2c03a672f79353d13554fe0ffdaf
      https://github.com/openssl/openssl/commit/c342004e07fd2c03a672f79353d13554fe0ffdaf
  Author: Tomáš Mráz <tomas at openssl.org>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M crypto/evp/p_lib.c

  Log Message:
  -----------
  EVP_PKEY_eq: regain compatibility with the 3.0.0 FIPS provider

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19201)


  Commit: e1289d90d0069ea1c3ea8ae80bfc3916077ec24e
      https://github.com/openssl/openssl/commit/e1289d90d0069ea1c3ea8ae80bfc3916077ec24e
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M test/build.info
    M test/endecode_test.c
    M test/evp_test.c
    A test/fips_version_test.c
    M test/recipes/25-test_verify.t
    M test/testutil.h
    M test/testutil/provider.c

  Log Message:
  -----------
  With fips provider 3.0.0 skip tests related to explicit curves handling

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19201)


  Commit: 65080a3e1ebced54af838481e6d40e1c0cb7991e
      https://github.com/openssl/openssl/commit/65080a3e1ebced54af838481e6d40e1c0cb7991e
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    A .github/workflows/fips-old.yml

  Log Message:
  -----------
  Add CI to test old FIPS provider versions

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19201)


Compare: https://github.com/openssl/openssl/compare/edb271ee5d68...65080a3e1ebc


More information about the openssl-commits mailing list