summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev
Commit message (Collapse)AuthorAgeFilesLines
* cryptodev: add missing patchZhenhua Luo2016-06-231-0/+33
| | | | | | | | | Fix the following build warning: | WARNING: .../meta-fsl-ppc/recipes-kernel/cryptodev/cryptodev-qoriq-linux_1.8.bb: | Unable to get checksum for cryptodev-qoriq-linux SRC_URI entry | 0001-don-t-advertise-RSA-keygen.patch: file could not be found Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
* cryptodev-qoriq: upgrade to 1.8 plus fsl patchesCristian Stoica2016-06-2356-319/+1998
| | | | | | | | | | | upstream commit: 87b56e04b24c6d4be145483477eff7d3153290e9 Also: - move all fsl patches on top of cryptodev-1.8 - add CIOCHASH ioctl - fix incorrect tests initializations - modify yocto patches to match updated Makefiles Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
* cryptodev: rename to cryptodev-qoriqTing Liu2016-06-234-4/+25
| | | | | | | | The QorIQ version of cryptodev needs to use another recipe name and have a common provider, which is than choosen for QorIQ-based machines. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* openssl/cryptodev: base_contains -> bb.utils.containsZhenhua Luo2016-05-101-1/+1
| | | | | | base_contains is deprecated. Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
* cryptodev: update to match commit 53e4d0feTing Liu2015-12-285-0/+526
| | | | | | | | | | | New commits imported: 53e4d0f fix COMPAT_CIOCKEY ioctl command number 7d0d0de remove MAY_BACKLOG flag from requests 85146b8 fix double free pkc->req on error 4078382 check return codes for copy to/from user functions Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
* cryptodev: set CLEANBROKENTing Liu2015-08-021-0/+2
| | | | | | | | | | | | | | | | Fix the below error: DEBUG: Executing shell function do_configure NOTE: make -e MAKEFLAGS= clean make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=`pwd` clean make[1]: *** /lib/modules/3.16.0-4-amd64/build: No such file or directory. Stop. Makefile:39: recipe for target 'clean' failed make: *** [clean] Error 2 ERROR: oe_runmake failed This aligns with the cryptodev recipe in Poky. Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
* cryptodev: update to 1.7 plus FSL patchesCristian Stoica2015-07-2034-99/+1531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* cryptodev: upgrade the bbappend version from 1.6 to 1.7Zhenhua Luo2015-04-242-0/+0
| | | | Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
* cryptodev: disable RSA_KEYGEN if pkc-host installedCristian Stoica2015-01-082-0/+36
| | | | | | | | | | | | | | 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>
* cryptodev: update origin and remove stale patchesCristian Stoica2015-01-0817-791/+210
| | | | | | | | | | | | - Nikos handed over project maintainance to Phil Sutter. - Several pending patches have been merged upstream so we removed them from the recipe. The remaining ones have been sorted Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Change-Id: I0c6160c739d379ba787e72423d1564b9a3d05d8b Reviewed-on: http://git.am.freescale.net:8181/24177 Reviewed-by: Zhenhua Luo <zhenhua.luo@freescale.com> Tested-by: Zhenhua Luo <zhenhua.luo@freescale.com>
* cryptodev-fsl: add missing colon for FILESEXTRAPATHSHongxu Jia2014-07-231-1/+1
| | | | | | | While other cryptodev-fsl's bbapend to assign FILESEXTRAPATHS, there was a potential dir split error. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
* remove fslmachine MACHINEOVERRIDES usageTing Liu2014-07-152-4/+4
| | | | | | fslmachine is too generic, use qoriq-ppc instead. Signed-off-by: Ting Liu <b28495@freescale.com>
* cryptodev-linux/module: use fsl maintained sourceZhenhua Luo2014-07-1122-146/+2958
| | | | | | | | | FSL SDK released its own cryptodev based on 1.6, but not all the codes was upstreamed, add bbappend to use fsl maintained source. This change only be applied for fsl machines Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Ting Liu <b28495@freescale.com>
* cryptodev: compile testprogs and package them to ${PN}-testsZongchun Yu2013-06-182-1/+86
| | | | | | Also add missing openssl dependency. Signed-off-by: Zongchun Yu <b40527@freescale.com>
* cryptodev: skip arch QA since kernel might not match for 64-bit kernels on ↵Yashpal Dutta2013-01-301-0/+18
| | | | | | 32-bit rfs Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com>
* cryptodev kernel module recipeYashpal Dutta2013-01-302-0/+43
This is a /dev/crypto device driver, equivalent to those in OpenBSD or FreeBSD. The main idea is to access of existing ciphers in kernel space from userspace, thus enabling re-use of a hardware implementation of a cipher. Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com> Signed-off-by: Zhenhua Luo <b19537@freescale.com>