From: Ladislav Michl <oss-lists@triops.cz>
To: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] [RFC PATCH 1/2] openssl: Install cryptodev shared object to target
Date: Mon, 9 Mar 2026 10:59:51 +0100 [thread overview]
Message-ID: <aa6aF1Cz-Ve1zfMr@lenoch> (raw)
In-Reply-To: <20260309-connector-yiddish-ae4ec79e1615@thorsis.com>
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 <ada@thorsis.com>
> > ---
> > 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
next prev parent reply other threads:[~2026-03-09 10:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 12:01 [ptxdist] [RFC PATCH 0/2] openssl: Add more hw acceleration support options Alexander Dahl via ptxdist
2026-03-04 12:02 ` [ptxdist] [RFC PATCH 1/2] openssl: Install cryptodev shared object to target Alexander Dahl via ptxdist
2026-03-09 7:35 ` Alexander Dahl via ptxdist
2026-03-09 9:59 ` Ladislav Michl [this message]
2026-03-04 12:02 ` [ptxdist] [RFC PATCH 2/2] openssl: Add option for AF_ALG support Alexander Dahl via ptxdist
2026-03-04 16:14 ` [ptxdist] [RFC PATCH 0/2] openssl: Add more hw acceleration support options Christian Melki
2026-03-06 10:01 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aa6aF1Cz-Ve1zfMr@lenoch \
--to=oss-lists@triops.cz \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox