From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 09 Mar 2026 11:00:07 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vzXPC-009hsZ-2i for lore@lore.pengutronix.de; Mon, 09 Mar 2026 11:00:07 +0100 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vzXPD-00005o-Ia; Mon, 09 Mar 2026 11:00:07 +0100 Received: from h4.cmg2.smtp.forpsi.com ([185.129.138.189]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vzXP0-00005c-BU for ptxdist@pengutronix.de; Mon, 09 Mar 2026 10:59:55 +0100 Received: from lenoch ([91.218.190.200]) by cmgsmtp with ESMTPSA id zXOyv2bscqQnYzXOzvn3iv; Mon, 09 Mar 2026 10:59:53 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=triops.cz; s=f2019; t=1773050393; bh=8Xhas8TCE7kYPXVn21VJFLXj/9OOfQetexz9UABF1ZA=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=SHa363pZXs2+jfxw67jCiJTeiMmyZtUZ63mYRMqOfAEzFNveiHA9pHoGSKhcXf7oV 5K8FJt145nDA9NTy4KgiC3P6CySpwExjv1GgUQw0wrlnyGM/Qb3uKOr0xbZHCf18Sg cFaHgLuReJrf3j/JDEP4yw4XZg7E4mjM3PfRhv2YlkBMb4M2LGA5BuwVYV1rVEalMG UzQK4BoRBkHkgy0/Fv4TM2XeiuPL9C2dPmlvHHAvEtROqk2iwRKBbB21iFCmhErlX+ TEfLnKt6evgaIjOvPkK9XS6t4taEq+XekP+E+id3JLRU7ggJ1spQycSuhuibe1+kqP CdYpxG+ygpxBg== Date: Mon, 9 Mar 2026 10:59:51 +0100 From: Ladislav Michl To: Alexander Dahl via ptxdist Message-ID: References: <20260304120201.3180281-1-ada@thorsis.com> <20260304120201.3180281-2-ada@thorsis.com> <20260309-connector-yiddish-ae4ec79e1615@thorsis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260309-connector-yiddish-ae4ec79e1615@thorsis.com> X-CMAE-Envelope: MS4xfPHrbkYaJSqIuxq+m+NvqNHCTnJ98Ndi9pjU6yP7dpQVrTJis1rh1kt8OfztDF94e6WKzHdVG54I0tuuO4944tsS4YIQNG0janPN8r4HpLX0yKgx73KQ H+R+h94J1T8WBwtKm2BjcS1Fv7/Uw9/2rFYhL175MHqEEufHJlEWBxqWgDYkPknlsdLoL8P7ZgX1zQ== X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.5 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [RFC PATCH 1/2] openssl: Install cryptodev shared object to target X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Mon, Mar 09, 2026 at 08:35:51AM +0100, Alexander Dahl via ptxdist wrote: > Hei hei, > > Am Wed, Mar 04, 2026 at 01:02:00PM +0100 schrieb Alexander Dahl via ptxdist: > > Recent openssl 3.5.5 produced this output on target: > > > > $ openssl engine -t -c -engine devcrypto > > 200092B6:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:115:filename(/usr/lib/engines-3/devcrypto.so): /usr/lib/engines-3/devcrypto.so: cannot open shared object file: No such file or directory > > 200092B6:error:12800067:DSO support routines:DSO_load:could not load the shared library:crypto/dso/dso_lib.c:147: > > 200092B6:error:13000084:engine routines:dynamic_load:dso not found:crypto/engine/eng_dyn.c:429: > > 200092B6:error:13000074:engine routines:ENGINE_by_id:no such engine:crypto/engine/eng_list.c:470:id=devcrypto > > > > Signed-off-by: Alexander Dahl > > --- > > rules/openssl.make | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/rules/openssl.make b/rules/openssl.make > > index 988ff36e6..2ffd9b4b6 100644 > > --- a/rules/openssl.make > > +++ b/rules/openssl.make > > @@ -114,6 +114,11 @@ ifdef PTXCONF_OPENSSL_LEGACY > > /usr/lib/ossl-modules/legacy.so) > > endif > > > > +ifdef PTXCONF_OPENSSL_CRYPTODEV > > + @$(call install_copy, openssl, 0, 0, 0644, -, \ > > + /usr/lib/engines-3/devcrypto.so) > > +endif > > + > > @$(call install_lib, openssl, 0, 0, 0644, libssl) > > @$(call install_lib, openssl, 0, 0, 0644, libcrypto) > > Ladis, could you perhaps comment on this? I saw you contributed > cryptodev patches lately with an e-mail address different from the one > I used to initially Cc you on this series. Trying the other address now. I've seen that, I just do not have anything interesting to add, but since you asked directly, let me put in a few historical notes. I added cryptodev back then for iMX CAAM when the customer was using openssl-1.0. Later on another customer wanted to use hw engine with Octeon MIPS based CPU where cryptographic acceleration is implemented as another coprocessor (pretty much same as floating point unit is implemented). That was with openssl-1.1 and Octeon reached end of production meanwhile. So now, once it is clear I haven't used openssl-3.5 with cryptodev I can only add your change looks good and I'm all for including it. Per https://openssl-library.org/post/2025-04-08-openssl-35-final-release/ 3.5 will be supported until April 8, 2030 and given a number of vendor engines around, upgrading to 4.0 does not sound like a viable option. Let's wait what 4.1 come with :) ladis