softhsm: add recipe

This is useful for consolidation of code-signing interfaces when
building an image with verified boot mechanisms or signed update
artifacts. It can also be used on the target as a backend for software
which uses the PKCS#11 API to access private key material.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jan Luebbe
2019-11-21 13:09:13 +01:00
committed by Khem Raj
parent 8d90acd59d
commit 8cff2b64b4
@@ -0,0 +1,18 @@
SUMMARY = "PKCS#11 HSM/Token Emulator"
HOMEPAGE = "https://www.opendnssec.org/softhsm/"
LICENSE = "BSD-2-Clause & ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ef3f77a3507c3d91e75b9f2bdaee4210"
DEPENDS = "openssl"
PV = "2.5.0"
SRC_URI = "git://github.com/opendnssec/SoftHSMv2.git;branch=master"
SRCREV = "369df0383d101bc8952692c2a368ac8bc887d1b4"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
# EdDSA requires OpenSSL >= 1.1.1
EXTRA_OECONF = "--enable-eddsa --disable-gost"
BBCLASSEXTEND = "native"