]> code.ossystems Code Review - meta-freescale.git/commit
cryptodev: disable RSA_KEYGEN if pkc-host installed
authorCristian Stoica <cristian.stoica@freescale.com>
Wed, 7 Jan 2015 09:55:02 +0000 (17:55 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 8 Jan 2015 10:18:00 +0000 (18:18 +0800)
commita24cf3acea3c6a7e639de78124c3d7f47989b8e4
treee7000aaed5aa866fb31a8cccd96082850a4b51b0
parent9e63ca38c4ccbf54228ac743936501f710f8a09e
cryptodev: disable RSA_KEYGEN if pkc-host installed

Currently pkc-host does not support RSA_KEYGEN. When pkc-host
installed, RSA keygen operations should be avoided.

Introduce DISTRO_FEATURE "c29x_pkc". To install pkc-host, this
feature should be enabled. Then cryptodev checks it to disable
RSA_KEYGEN.

this can be done in conf/local.conf:
DISTRO_FEATURES_append = " c29x_pkc"

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
meta-fsl-ppc/recipes-kernel/cryptodev/cryptodev-fsl/0001-don-t-advertise-RSA-keygen.patch [new file with mode: 0644]
meta-fsl-ppc/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend
meta-fsl-ppc/recipes-kernel/pkc-host/pkc-host_git.bb