mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>, Ladislav Michl <ladis@linux-mips.org>
Subject: [ptxdist] [RFC PATCH 1/2] openssl: Install cryptodev shared object to target
Date: Wed,  4 Mar 2026 13:02:00 +0100	[thread overview]
Message-ID: <20260304120201.3180281-2-ada@thorsis.com> (raw)
In-Reply-To: <20260304120201.3180281-1-ada@thorsis.com>

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)
 
-- 
2.47.3




  reply	other threads:[~2026-03-04 12:02 UTC|newest]

Thread overview: 4+ 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 ` Alexander Dahl via ptxdist [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

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=20260304120201.3180281-2-ada@thorsis.com \
    --to=ptxdist@pengutronix.de \
    --cc=ada@thorsis.com \
    --cc=ladis@linux-mips.org \
    /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