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