meta-secure-core: initial commit

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
Lans Zhang
2017-06-22 15:22:01 +08:00
commit 1b3e594449
204 changed files with 14086 additions and 0 deletions
@@ -0,0 +1,6 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:"
SRC_URI += " \
${@bb.utils.contains('DISTRO_FEATURES', 'encrypted-storage', \
'file://dmcrypt.scc file://dmcrypt.cfg', '', d)} \
"
@@ -0,0 +1 @@
include linux-yocto-encrypted-storage.inc
@@ -0,0 +1,11 @@
# Enable device-mapper crypt target
CONFIG_DM_CRYPT=y
# Enable the default cipher-spec for LUKS
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_NI_INTEL=y
CONFIG_CRYPTO_XTS=y
# Use entropy-strong source for RNG
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_TPM=m
@@ -0,0 +1 @@
kconf non-hardware dmcrypt.cfg
@@ -0,0 +1 @@
include linux-yocto-encrypted-storage.inc