diff mbox series

[meta-arago,master/kirkstone] packagegroups: crypto: Add pkcs11 tools and example TAs

Message ID 20230928151935.18921-1-afd@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master/kirkstone] packagegroups: crypto: Add pkcs11 tools and example TAs | expand

Commit Message

Andrew Davis Sept. 28, 2023, 3:19 p.m. UTC
The OP-TEE package contains some loadable TAs including one used for
pkcs11, add this package to the base image.

To make use of the PKCS#11 API (Cryptoki) that this TA provides, one
can use libckteec already included with optee-client. An example
app that can make use of that library is pkcs11-tool which is part of
opensc. Add this package also.

For example, try:

$ pkcs11-tool --show-info --module /usr/lib/libckteec.so.0

Signed-off-by: Andrew Davis <afd@ti.com>
---
 .../recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb  | 1 +
 .../packagegroups/packagegroup-arago-tisdk-crypto.bb             | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
index 03e5a5f9..00f6db61 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
@@ -7,6 +7,7 @@  PACKAGE_ARCH = "${MACHINE_ARCH}"
 inherit packagegroup
 
 OPTEE_PKGS = " \
+    optee-os \
     optee-client \
     optee-test \
     optee-examples \
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto.bb
index 30224244..ec30942b 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto.bb
@@ -12,6 +12,7 @@  CRYPTO_SUPPORT = "\
     openssl-conf \
     openssl-engines \
     cryptodev-module \
+    opensc \
 "
 
 RDEPENDS:${PN} = "\