summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/cryptodev-qoriq_1.8.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/cryptodev/cryptodev-qoriq_1.8.inc')
-rw-r--r--recipes-kernel/cryptodev/cryptodev-qoriq_1.8.inc76
1 files changed, 76 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/cryptodev-qoriq_1.8.inc b/recipes-kernel/cryptodev/cryptodev-qoriq_1.8.inc
new file mode 100644
index 0000000..7e9b4a6
--- /dev/null
+++ b/recipes-kernel/cryptodev/cryptodev-qoriq_1.8.inc
@@ -0,0 +1,76 @@
1HOMEPAGE = "http://cryptodev-linux.org/"
2
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
6python() {
7 pkgs = d.getVar('PACKAGES', True).split()
8 for p in pkgs:
9 if 'cryptodev-qoriq' in p:
10 d.appendVar("RPROVIDES_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev'))
11 d.appendVar("RCONFLICTS_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev'))
12 d.appendVar("RREPLACES_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev'))
13}
14
15FILESEXTRAPATHS_prepend := "${THISDIR}/sdk_patches:"
16FILESEXTRAPATHS_prepend := "${THISDIR}/yocto_patches:"
17
18SRC_URI = "http://download.gna.org/cryptodev-linux/cryptodev-linux-${PV}.tar.gz"
19
20SRC_URI[md5sum] = "02644cc4cd02301e0b503a332eb2f0b5"
21SRC_URI[sha256sum] = "67fabde9fb67b286a96c4f45b594b0eccd0f761b495705c18f2ae9461b831376"
22
23# SDK patches
24SRC_URI_append = " file://0001-add-support-for-composite-TLS10-SHA1-AES-algorithm-o.patch \
25file://0002-add-support-for-COMPAT_CIOCAUTHCRYPT-ioctl.patch \
26file://0003-PKC-support-added-in-cryptodev-module.patch \
27file://0004-Compat-versions-of-PKC-IOCTLs.patch \
28file://0005-Asynchronous-interface-changes-in-cryptodev.patch \
29file://0006-ECC_KEYGEN-and-DLC_KEYGEN-supported-in-cryptodev-mod.patch \
30file://0007-RCU-stall-fixed-in-PKC-asynchronous-interface.patch \
31file://0008-Add-RSA-Key-generation-offloading.patch \
32file://0009-Fixed-compilation-error-of-openssl-with-fsl-cryptode.patch \
33file://0010-add-support-for-composite-TLS10-SHA1-3DES-algorithm-.patch \
34file://0011-add-support-for-TLSv1.1-record-offload.patch \
35file://0012-add-support-for-TLSv1.2-record-offload.patch \
36file://0013-clean-up-code-layout.patch \
37file://0014-remove-redundant-data-copy-for-pkc-operations.patch \
38file://0015-fix-pkc-request-deallocation.patch \
39file://0016-add-basic-detection-of-asym-features.patch \
40file://0017-remove-dead-code.patch \
41file://0018-fix-compat-warnings.patch \
42file://0019-fix-size_t-print-format.patch \
43file://0020-fix-uninitialized-variable-compiler-warning.patch \
44file://0021-check-return-codes-for-copy-to-from-user-functions.patch \
45file://0022-fix-double-free-pkc-req-on-error.patch \
46file://0023-remove-MAY_BACKLOG-flag-from-requests.patch \
47file://0024-fix-COMPAT_CIOCKEY-ioctl-command-number.patch \
48file://0025-fix-benchmarks-linking.patch \
49file://0026-fix-Makefile-to-allow-parallel-make-with-j-option.patch \
50file://0027-use-Linux-kernel-conventions-for-Makefile-variables.patch \
51file://0028-for-consistency-use-.-instead-of-.-in-makefiles.patch \
52file://0029-fix-clean-up-on-error-path-for-crypto_create_session.patch \
53file://0030-remove-code-duplication-in-cryptodev_hash_init.patch \
54file://0031-fix-comment-typo.patch \
55file://0032-avoid-calls-to-kmalloc-on-hotpaths.patch \
56file://0033-avoid-unnecessary-checks-for-hash-clean-up.patch \
57file://0034-extend-API-with-CIOCHASH-to-support-direct-hash-oper.patch \
58file://0035-use-directly-crypto-API-digest-operation-for-CIOCHAS.patch \
59file://0036-add-compat-for-CIOCHASH-operation.patch \
60file://0037-rewrite-sha_speed.c-to-reduce-code-duplication.patch \
61file://0038-extend-sha_speed.c-to-test-CIOCHASH.patch \
62file://0039-fix-memory-leaks-on-error-path-for-CIOCHASH.patch \
63file://0040-fix-structure-init-in-sha_speed-test.patch \
64file://0041-add-separate-target-for-building-tests.patch \
65file://0042-fix-destination-for-staged-installs.patch \
66file://0043-add-install-target-for-tests.patch \
67"
68
69# NOTE: remove this patch and all traces of DISTRO_FEATURE c29x_pkc
70# if pkc-host does not need customized cryptodev patches anymore
71SRC_URI_append = "${@bb.utils.contains('DISTRO_FEATURES', 'c29x_pkc', ' file://0001-don-t-advertise-RSA-keygen.patch', '', d)}"
72
73S = "${WORKDIR}/cryptodev-linux-${PV}"
74
75CLEANBROKEN = "1"
76COMPATIBLE_MACHINE = "(qoriq)"