summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/cryptodev_1.7.inc
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2015-04-22 20:13:45 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2015-07-22 17:38:00 +0800
commitb2088016a9fbe9add324aa1a7228bc9bfdc5c606 (patch)
treef2959e9dd028ea3b2a68d81b819b7186e4917c44 /recipes-kernel/cryptodev/cryptodev_1.7.inc
parentc0590434ae1571602fde9441f447a6fb35967e4c (diff)
downloadmeta-fsl-ppc-b2088016a9fbe9add324aa1a7228bc9bfdc5c606.tar.gz
cryptodev: update to 1.7 plus FSL patches
To avoid build issue when Poky upgrades cryptodev, keep a copy of cryptodev-{linux,modules,tests) recipe in this repository. Based on the upstream, this includes the following FSL patches: 0001-add-support-for-composite-TLS10-SHA1-AES-algorithm-o.patch 0002-add-support-for-COMPAT_CIOCAUTHCRYPT-ioctl.patch 0003-PKC-support-added-in-cryptodev-module.patch 0004-Compat-versions-of-PKC-IOCTLs.patch 0005-Asynchronous-interface-changes-in-cryptodev.patch 0006-ECC_KEYGEN-and-DLC_KEYGEN-supported-in-cryptodev-mod.patch 0007-RCU-stall-fixed-in-PKC-asynchronous-interface.patch 0008-Add-RSA-Key-generation-offloading.patch 0009-Fixed-compilation-error-of-openssl-with-fsl-cryptode.patch 0010-add-support-for-composite-TLS10-SHA1-3DES-algorithm-.patch 0011-add-support-for-TLSv1.1-record-offload.patch 0012-add-support-for-TLSv1.2-record-offload.patch 0013-clean-up-code-layout.patch 0014-remove-redundant-data-copy-for-pkc-operations.patch 0015-fix-pkc-request-deallocation.patch 0016-add-basic-detection-of-asym-features.patch 0017-remove-dead-code.patch 0018-fix-compat-warnings.patch 0019-fix-size_t-print-format.patch 0020-fix-uninitialized-variable-compiler-warning.patch Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Ting Liu <ting.liu@freescale.com>
Diffstat (limited to 'recipes-kernel/cryptodev/cryptodev_1.7.inc')
-rw-r--r--recipes-kernel/cryptodev/cryptodev_1.7.inc47
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/cryptodev_1.7.inc b/recipes-kernel/cryptodev/cryptodev_1.7.inc
new file mode 100644
index 0000000..6b65f72
--- /dev/null
+++ b/recipes-kernel/cryptodev/cryptodev_1.7.inc
@@ -0,0 +1,47 @@
1HOMEPAGE = "http://cryptodev-linux.org/"
2
3RCONFLICTS_${PN} = "ocf-linux"
4RREPLACES_${PN} = "ocf-linux"
5
6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8
9SRC_URI = "http://download.gna.org/cryptodev-linux/cryptodev-linux-${PV}.tar.gz"
10SRC_URI[md5sum] = "0b63b3481cf2c90386b35f057481d36b"
11SRC_URI[sha256sum] = "41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25"
12
13# Upstream hotfixes and yocto specific patches
14SRC_URI_append = " \
15file://0001-fix-compilation-against-linux-3.19.patch \
16file://0002-tests-Makefile-fix-arg-passing-to-CC-in-implicit-rul.patch \
17file://0003-Disable-installing-header-file-provided-by-another-p.patch \
18file://0004-Add-the-compile-and-install-rules-for-cryptodev-test.patch \
19"
20# SDK patches
21SRC_URI_append = " file://0001-add-support-for-composite-TLS10-SHA1-AES-algorithm-o.patch \
22file://0002-add-support-for-COMPAT_CIOCAUTHCRYPT-ioctl.patch \
23file://0003-PKC-support-added-in-cryptodev-module.patch \
24file://0004-Compat-versions-of-PKC-IOCTLs.patch \
25file://0005-Asynchronous-interface-changes-in-cryptodev.patch \
26file://0006-ECC_KEYGEN-and-DLC_KEYGEN-supported-in-cryptodev-mod.patch \
27file://0007-RCU-stall-fixed-in-PKC-asynchronous-interface.patch \
28file://0008-Add-RSA-Key-generation-offloading.patch \
29file://0009-Fixed-compilation-error-of-openssl-with-fsl-cryptode.patch \
30file://0010-add-support-for-composite-TLS10-SHA1-3DES-algorithm-.patch \
31file://0011-add-support-for-TLSv1.1-record-offload.patch \
32file://0012-add-support-for-TLSv1.2-record-offload.patch \
33file://0013-clean-up-code-layout.patch \
34file://0014-remove-redundant-data-copy-for-pkc-operations.patch \
35file://0015-fix-pkc-request-deallocation.patch \
36file://0016-add-basic-detection-of-asym-features.patch \
37file://0017-remove-dead-code.patch \
38file://0018-fix-compat-warnings.patch \
39file://0019-fix-size_t-print-format.patch \
40file://0020-fix-uninitialized-variable-compiler-warning.patch \
41"
42
43# NOTE: remove this patch and all traces of DISTRO_FEATURE c29x_pkc
44# if pkc-host does not need customized cryptodev patches anymore
45SRC_URI_append = "${@base_contains('DISTRO_FEATURES', 'c29x_pkc', ' file://0001-don-t-advertise-RSA-keygen.patch', '', d)}"
46
47S = "${WORKDIR}/cryptodev-linux-${PV}"