RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2087253 - openssl speed failures with -engine ibmca
Summary: openssl speed failures with -engine ibmca
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: openssl
Version: 9.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Dmitry Belyavskiy
QA Contact: BaseOS QE Security Team
Jan Fiala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-17 16:55 UTC by Alicja Kario
Modified: 2022-09-08 15:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
.OpenSSL cannot use engines in FIPS mode Engine API is deprecated in OpenSSL 3.0 and is incompatible with OpenSSL Federal Information Processing Standards (FIPS) implementation and other FIPS-compatible implementations. Therefore, OpenSSL cannot run engines in FIPS mode. There is no workaround for this problem.
Clone Of:
Environment:
Last Closed: 2022-09-08 15:36:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CRYPTO-7297 0 None None None 2022-05-23 09:45:33 UTC
Red Hat Issue Tracker RHELPLAN-122375 0 None None None 2022-05-17 16:57:05 UTC

Description Alicja Kario 2022-05-17 16:55:14 UTC
Description of problem:
When running openssl speed -engine ibmca, openssl reports multiple errors

Version-Release number of selected component (if applicable):
openssl-ibmca-2.2.2-1.el9.s390x
openssl-3.0.1-24.el9_0

How reproducible:
always

Steps to Reproduce:
1. openssl speed -engine ibmca

Actual results:
Doing sha512 for 3s on 16384 size blocks: 623699 sha512's in 2.98s
Doing hmac(md5) for 3s on 16 size blocks: hmac(md5) error!
000003FFA0EF2720:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:349:FIPS internal library context, Algorithm (md5 : 0), Properties (<null>)
RSA sign setup failure.  No RSA sign will be done.
000003FFA0EF2720:error:1C800069:Provider routines:ossl_rsa_check_key:invalid key length:providers/common/securitycheck.c:66:operation: 16
RSA verify setup failure.  No RSA verify will be done.
DSA sign setup failure.  No DSA sign will be done.
000003FFA0EF2720:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (DSA : 103), Properties (<null>)
DSA verify setup failure.  No DSA verify will be done.
EC params init failure.
000003FFA0EF2720:error:0800008D:elliptic curve routines:group_new_from_name:invalid curve:crypto/ec/ec_lib.c:1490:
ECDH key generation failure.
EdDSA failure.
000003FFA0EF2720:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (ED25519 : 109), Properties (<null>)
EdDSA failure.
000003FFA0EF2720:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (ED448 : 110), Properties (<null>)

Expected results:
speed should not try algorithms in FIPS mode which are not fips approved

Additional info:

Comment 1 Dmitry Belyavskiy 2022-07-18 15:37:37 UTC
I tend to not fix this issue. Engines in FIPS mode is not supported combination, so any behavior is relevant. Probably we should raise an error if we see an engine in command line in FIPS mode but I don't think it's worth efforts.


Note You need to log in before you can comment on or make changes to this bug.