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 <[email protected]>
---
 .../recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb  | 1 +
 .../packagegroups/packagegroup-arago-tisdk-crypto.bb             | 1 +
 2 files changed, 2 insertions(+)

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} = "\
-- 
2.39.2



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14906): 
https://lists.yoctoproject.org/g/meta-arago/message/14906
Mute This Topic: https://lists.yoctoproject.org/mt/101639659/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to