* [PATCH 0/3] Replace ocf-linux with cryptodev-linux
@ 2014-03-26 10:15 Kai Kang
2014-03-26 10:15 ` [PATCH 1/3] cryptodev-linux: add recipe Kai Kang
` (4 more replies)
0 siblings, 5 replies; 16+ messages in thread
From: Kai Kang @ 2014-03-26 10:15 UTC (permalink / raw)
To: openembedded-core
Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto.
Build for qemux86 and qemuarm. Test on qemux86.
Test steps:
1 set CONFIG_CRYPTODEV for linux-yocto by menuconfig
Cryptographic API ---> cryptodev module support
2 bitbake core-image-sato
3 test openssl on target:
3.1 load kernel module cryptodev first
root@qemux86:~# modprobe cryptodev
3.2 test openssl
root@qemux86:~# echo "test" > test.txt
root@qemux86:~# openssl aes-128-cbc -salt -engine cryptodev -in test.txt -out test.txt.aes
engine "cryptodev" set.
enter aes-128-cbc encryption password:
Verifying - enter aes-128-cbc encryption password:
root@qemux86:~# openssl aes-128-cbc -d -salt -engine cryptodev -in test.txt.aes -out test.txt.out
engine "cryptodev" set.
enter aes-128-cbc decryption password: <-- input wrong password here
bad decrypt
3078080188:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:539:
root@qemux86:~# openssl aes-128-cbc -d -salt -engine cryptodev -in test.txt.aes -out test.txt.out
engine "cryptodev" set.
enter aes-128-cbc decryption password:
root@qemux86:~# ls -l
-rw-r--r-- 1 root root 5 Mar 26 10:07 test.txt
-rw-r--r-- 1 root root 32 Mar 26 10:08 test.txt.aes
-rw-r--r-- 1 root root 5 Mar 26 10:09 test.txt.out
root@qemux86:~# cat test.txt.aes
Salted__�0�c5'A�vU���`root@qemux86:~#
root@qemux86:~# cat test.txt.out
test
root@qemux86:~#
The following changes since commit 39846ddbce87d26eb68870914bf86a8ce5e86e5c:
bitbake: data_smart: Fix caching issue for double remove references (2014-03-25 22:28:42 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib kangkai/ocf-linux
http://git.yoctoproject.org/cgit.cgi//log/?h=kangkai/ocf-linux
Kai Kang (3):
cryptodev-linux: add recipe
openssl: replace dependency ocf-linux with cryptodev-linux
ocf-linux: remove recipe
.../openssl/cryptodev-linux_1.6.bb | 22 ++++++++++++++++++++
meta/recipes-connectivity/openssl/ocf-linux.inc | 24 ----------------------
.../openssl/ocf-linux_20120127.bb | 6 ------
.../recipes-connectivity/openssl/openssl_1.0.1e.bb | 2 +-
4 files changed, 23 insertions(+), 31 deletions(-)
create mode 100644 meta/recipes-connectivity/openssl/cryptodev-linux_1.6.bb
delete mode 100644 meta/recipes-connectivity/openssl/ocf-linux.inc
delete mode 100644 meta/recipes-connectivity/openssl/ocf-linux_20120127.bb
--
1.8.1.2
^ permalink raw reply [flat|nested] 16+ messages in thread* [PATCH 1/3] cryptodev-linux: add recipe 2014-03-26 10:15 [PATCH 0/3] Replace ocf-linux with cryptodev-linux Kai Kang @ 2014-03-26 10:15 ` Kai Kang 2014-03-26 14:40 ` Otavio Salvador 2014-03-28 17:11 ` Denys Dmytriyenko 2014-03-26 10:15 ` [PATCH 2/3] openssl: replace dependency ocf-linux with cryptodev-linux Kai Kang ` (3 subsequent siblings) 4 siblings, 2 replies; 16+ messages in thread From: Kai Kang @ 2014-03-26 10:15 UTC (permalink / raw) To: openembedded-core Yocto kernel linux-yocto uses cryptodev-linux to use device /dev/crypto. So add cryptodev-linux which is one alternative of ocf-linux and then remove ocf-linux later. Signed-off-by: Kai Kang <kai.kang@windriver.com> --- .../openssl/cryptodev-linux_1.6.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta/recipes-connectivity/openssl/cryptodev-linux_1.6.bb diff --git a/meta/recipes-connectivity/openssl/cryptodev-linux_1.6.bb b/meta/recipes-connectivity/openssl/cryptodev-linux_1.6.bb new file mode 100644 index 0000000..320716d --- /dev/null +++ b/meta/recipes-connectivity/openssl/cryptodev-linux_1.6.bb @@ -0,0 +1,22 @@ +SUMMARY = "A /dev/crypto device driver" +HOMEPAGE = "http://cryptodev-linux.org/" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "http://download.gna.org/cryptodev-linux/${BPN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "eade38998313c25fd7934719cdf8a2ea" +SRC_URI[sha256sum] = "75f1425c8ea1f8cae523905a5a046a35092327a6152800b0b86efc4e56fb3e2f" + +do_compile() { + : +} + +# Just install cryptodev.h which is the only header file needed to be exported +do_install() { + install -D ${S}/crypto/cryptodev.h ${D}${includedir}/crypto/cryptodev.h +} + +ALLOW_EMPTY_${PN} = "1" +BBCLASSEXTEND = "native nativesdk" -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 1/3] cryptodev-linux: add recipe 2014-03-26 10:15 ` [PATCH 1/3] cryptodev-linux: add recipe Kai Kang @ 2014-03-26 14:40 ` Otavio Salvador 2014-03-28 17:11 ` Denys Dmytriyenko 1 sibling, 0 replies; 16+ messages in thread From: Otavio Salvador @ 2014-03-26 14:40 UTC (permalink / raw) To: Kai Kang, Lauren Post; +Cc: Patches and discussions about the oe-core layer On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang <kai.kang@windriver.com> wrote: > Yocto kernel linux-yocto uses cryptodev-linux to use device /dev/crypto. > So add cryptodev-linux which is one alternative of ocf-linux and then > remove ocf-linux later. > > Signed-off-by: Kai Kang <kai.kang@windriver.com> Awesome Kai, I was about to send the same thing :-) Acked-by: Otavio Salvador <otavio@ossystems.com.br> Lauren, adding you to Cc so you are aware of it. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/3] cryptodev-linux: add recipe 2014-03-26 10:15 ` [PATCH 1/3] cryptodev-linux: add recipe Kai Kang 2014-03-26 14:40 ` Otavio Salvador @ 2014-03-28 17:11 ` Denys Dmytriyenko 1 sibling, 0 replies; 16+ messages in thread From: Denys Dmytriyenko @ 2014-03-28 17:11 UTC (permalink / raw) To: Kai Kang; +Cc: openembedded-core On Wed, Mar 26, 2014 at 06:15:57PM +0800, Kai Kang wrote: > Yocto kernel linux-yocto uses cryptodev-linux to use device /dev/crypto. > So add cryptodev-linux which is one alternative of ocf-linux and then > remove ocf-linux later. Quick question - is it native-only recipe? Does it expect cryptodev module to be patched into kernel? Is this what the above description implies - "linux-yocto uses cryptodev-linux"? From the looks of it, the recipe only installs a header and doesn't even build the out-of-tree module for cryptodev, that cryptodev-linux provides... > Signed-off-by: Kai Kang <kai.kang@windriver.com> > --- > .../openssl/cryptodev-linux_1.6.bb | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 meta/recipes-connectivity/openssl/cryptodev-linux_1.6.bb > > diff --git a/meta/recipes-connectivity/openssl/cryptodev-linux_1.6.bb b/meta/recipes-connectivity/openssl/cryptodev-linux_1.6.bb > new file mode 100644 > index 0000000..320716d > --- /dev/null > +++ b/meta/recipes-connectivity/openssl/cryptodev-linux_1.6.bb > @@ -0,0 +1,22 @@ > +SUMMARY = "A /dev/crypto device driver" > +HOMEPAGE = "http://cryptodev-linux.org/" > + > +LICENSE = "GPLv2" > +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" > + > +SRC_URI = "http://download.gna.org/cryptodev-linux/${BPN}-${PV}.tar.gz" > + > +SRC_URI[md5sum] = "eade38998313c25fd7934719cdf8a2ea" > +SRC_URI[sha256sum] = "75f1425c8ea1f8cae523905a5a046a35092327a6152800b0b86efc4e56fb3e2f" > + > +do_compile() { > + : > +} > + > +# Just install cryptodev.h which is the only header file needed to be exported > +do_install() { > + install -D ${S}/crypto/cryptodev.h ${D}${includedir}/crypto/cryptodev.h > +} > + > +ALLOW_EMPTY_${PN} = "1" > +BBCLASSEXTEND = "native nativesdk" > -- > 1.8.1.2 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 2/3] openssl: replace dependency ocf-linux with cryptodev-linux 2014-03-26 10:15 [PATCH 0/3] Replace ocf-linux with cryptodev-linux Kai Kang 2014-03-26 10:15 ` [PATCH 1/3] cryptodev-linux: add recipe Kai Kang @ 2014-03-26 10:15 ` Kai Kang 2014-03-26 10:15 ` [PATCH 3/3] ocf-linux: remove recipe Kai Kang ` (2 subsequent siblings) 4 siblings, 0 replies; 16+ messages in thread From: Kai Kang @ 2014-03-26 10:15 UTC (permalink / raw) To: openembedded-core ocf-linux only provides header files but no implementation in kernel. And Yocto kernel linux-yocto use cryptodev-linux to implement /dev/crypto interface. So replace dependency ocf-linux with cryptodev-linux for openssl. Signed-off-by: Kai Kang <kai.kang@windriver.com> --- meta/recipes-connectivity/openssl/openssl_1.0.1e.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb b/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb index a574e81..59e66ec 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb @@ -2,7 +2,7 @@ require openssl.inc # For target side versions of openssl enable support for OCF Linux driver # if they are available. -DEPENDS += "ocf-linux" +DEPENDS += "cryptodev-linux" CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 3/3] ocf-linux: remove recipe 2014-03-26 10:15 [PATCH 0/3] Replace ocf-linux with cryptodev-linux Kai Kang 2014-03-26 10:15 ` [PATCH 1/3] cryptodev-linux: add recipe Kai Kang 2014-03-26 10:15 ` [PATCH 2/3] openssl: replace dependency ocf-linux with cryptodev-linux Kai Kang @ 2014-03-26 10:15 ` Kai Kang 2014-03-26 14:42 ` [PATCH 0/3] Replace ocf-linux with cryptodev-linux Otavio Salvador 2014-03-28 9:50 ` Richard Purdie 4 siblings, 0 replies; 16+ messages in thread From: Kai Kang @ 2014-03-26 10:15 UTC (permalink / raw) To: openembedded-core ocf-linux only provides header file and no kernel module is built. We can't use ocf-linux without its implementation. And linux-yocto uses an alternative project cryptodev-linux, so we remove ocf-linux and use cryptodev-linux instead. Signed-off-by: Kai Kang <kai.kang@windriver.com> --- meta/recipes-connectivity/openssl/ocf-linux.inc | 24 ---------------------- .../openssl/ocf-linux_20120127.bb | 6 ------ 2 files changed, 30 deletions(-) delete mode 100644 meta/recipes-connectivity/openssl/ocf-linux.inc delete mode 100644 meta/recipes-connectivity/openssl/ocf-linux_20120127.bb diff --git a/meta/recipes-connectivity/openssl/ocf-linux.inc b/meta/recipes-connectivity/openssl/ocf-linux.inc deleted file mode 100644 index d6cde9a..0000000 --- a/meta/recipes-connectivity/openssl/ocf-linux.inc +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "Installs required headers for OCF-Linux crypto acceleration support" -LICENSE = "BSD" - -LIC_FILES_CHKSUM = "file://README;md5=493ffe65655667614cf24567adf22f11" - -INC_PR = "r3" - -SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" - -S = "${WORKDIR}/ocf-linux-${PV}" - -# Need to unpack the the ocf-linux.tar.gz file contained inside the -# downloaded tarball -# Install the OCF Linux headers so that other packages such as openssl -# can find them. The headers must be in a crypto directory according to -# the README file. -do_install() { - cd ${S} - install -d ${D}${includedir}/crypto - install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/ -} - -ALLOW_EMPTY_${PN} = "1" -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-connectivity/openssl/ocf-linux_20120127.bb b/meta/recipes-connectivity/openssl/ocf-linux_20120127.bb deleted file mode 100644 index 7f4d5b3..0000000 --- a/meta/recipes-connectivity/openssl/ocf-linux_20120127.bb +++ /dev/null @@ -1,6 +0,0 @@ -require ocf-linux.inc - -PR = "${INC_PR}.0" - -SRC_URI[md5sum] = "3e68afaf6a76dfdab79540fbd6b0cbb3" -SRC_URI[sha256sum] = "5113609d2c2c43fde962bec1238fe5a81211a751ebb0337b54a9804d40cfef53" -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-26 10:15 [PATCH 0/3] Replace ocf-linux with cryptodev-linux Kai Kang ` (2 preceding siblings ...) 2014-03-26 10:15 ` [PATCH 3/3] ocf-linux: remove recipe Kai Kang @ 2014-03-26 14:42 ` Otavio Salvador 2014-03-28 3:03 ` Kang Kai 2014-03-28 17:13 ` Denys Dmytriyenko 2014-03-28 9:50 ` Richard Purdie 4 siblings, 2 replies; 16+ messages in thread From: Otavio Salvador @ 2014-03-26 14:42 UTC (permalink / raw) To: Kai Kang; +Cc: Patches and discussions about the oe-core layer Hello Kai, On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang <kai.kang@windriver.com> wrote: > Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. Thanks for handling it; I was going to address same issue this week so we could have it upstreamed and drop the Freescale bbappends for it. This indeed makes my life easier :-) So thank you :-) -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-26 14:42 ` [PATCH 0/3] Replace ocf-linux with cryptodev-linux Otavio Salvador @ 2014-03-28 3:03 ` Kang Kai 2014-03-28 17:13 ` Denys Dmytriyenko 1 sibling, 0 replies; 16+ messages in thread From: Kang Kai @ 2014-03-28 3:03 UTC (permalink / raw) To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer On 2014年03月26日 22:42, Otavio Salvador wrote: > Hello Kai, > > On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang <kai.kang@windriver.com> wrote: >> Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. > Thanks for handling it; I was going to address same issue this week so > we could have it upstreamed and drop the Freescale bbappends for it. > This indeed makes my life easier :-) So thank you :-) > Hi Otavio, It is my pleasure if it could help. :) -- Regards, Neil | Kai Kang ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-26 14:42 ` [PATCH 0/3] Replace ocf-linux with cryptodev-linux Otavio Salvador 2014-03-28 3:03 ` Kang Kai @ 2014-03-28 17:13 ` Denys Dmytriyenko 2014-03-28 17:18 ` Bruce Ashfield 2014-03-28 17:22 ` Richard Purdie 1 sibling, 2 replies; 16+ messages in thread From: Denys Dmytriyenko @ 2014-03-28 17:13 UTC (permalink / raw) To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer On Wed, Mar 26, 2014 at 11:42:39AM -0300, Otavio Salvador wrote: > Hello Kai, > > On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang <kai.kang@windriver.com> wrote: > > Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. > > Thanks for handling it; I was going to address same issue this week so > we could have it upstreamed and drop the Freescale bbappends for it. So, we also have a recipe of cryptodev for TI builds. But it's not just a header file and we need the actual module to be built and packaged... I'm rather surprised it was merged so quickly w/o further discussion... :( -- Denys ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-28 17:13 ` Denys Dmytriyenko @ 2014-03-28 17:18 ` Bruce Ashfield 2014-03-28 17:34 ` Denys Dmytriyenko 2014-03-28 17:22 ` Richard Purdie 1 sibling, 1 reply; 16+ messages in thread From: Bruce Ashfield @ 2014-03-28 17:18 UTC (permalink / raw) To: Denys Dmytriyenko Cc: Otavio Salvador, Patches and discussions about the oe-core layer On Fri, Mar 28, 2014 at 1:13 PM, Denys Dmytriyenko <denis@denix.org> wrote: > On Wed, Mar 26, 2014 at 11:42:39AM -0300, Otavio Salvador wrote: >> Hello Kai, >> >> On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang <kai.kang@windriver.com> wrote: >> > Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. >> >> Thanks for handling it; I was going to address same issue this week so >> we could have it upstreamed and drop the Freescale bbappends for it. > > So, we also have a recipe of cryptodev for TI builds. But it's not just a > header file and we need the actual module to be built and packaged... As long as something out of tree can co-exist with in-tree implementations, I don't see a problem with an incremental update that builds the module as well. Bruce > > I'm rather surprised it was merged so quickly w/o further discussion... :( > > -- > Denys > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-28 17:18 ` Bruce Ashfield @ 2014-03-28 17:34 ` Denys Dmytriyenko 2014-03-28 17:42 ` Bruce Ashfield 0 siblings, 1 reply; 16+ messages in thread From: Denys Dmytriyenko @ 2014-03-28 17:34 UTC (permalink / raw) To: Bruce Ashfield Cc: Otavio Salvador, Patches and discussions about the oe-core layer On Fri, Mar 28, 2014 at 01:18:32PM -0400, Bruce Ashfield wrote: > On Fri, Mar 28, 2014 at 1:13 PM, Denys Dmytriyenko <denis@denix.org> wrote: > > On Wed, Mar 26, 2014 at 11:42:39AM -0300, Otavio Salvador wrote: > >> Hello Kai, > >> > >> On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang <kai.kang@windriver.com> wrote: > >> > Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. > >> > >> Thanks for handling it; I was going to address same issue this week so > >> we could have it upstreamed and drop the Freescale bbappends for it. > > > > So, we also have a recipe of cryptodev for TI builds. But it's not just a > > header file and we need the actual module to be built and packaged... > > As long as something out of tree can co-exist with in-tree implementations, > I don't see a problem with an incremental update that builds the module > as well. Thanks. So, I already have cryptodev-tests as a separate recipe that builds some tests from the same source, as main cryptodev. I guess I can look into separating module part into cryptodev-module recipe, which can be optional for kernels like linux-yocto that have it already patched in. Will that work? -- Denys ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-28 17:34 ` Denys Dmytriyenko @ 2014-03-28 17:42 ` Bruce Ashfield 0 siblings, 0 replies; 16+ messages in thread From: Bruce Ashfield @ 2014-03-28 17:42 UTC (permalink / raw) To: Denys Dmytriyenko Cc: Otavio Salvador, Patches and discussions about the oe-core layer On Fri, Mar 28, 2014 at 1:34 PM, Denys Dmytriyenko <denis@denix.org> wrote: > On Fri, Mar 28, 2014 at 01:18:32PM -0400, Bruce Ashfield wrote: >> On Fri, Mar 28, 2014 at 1:13 PM, Denys Dmytriyenko <denis@denix.org> wrote: >> > On Wed, Mar 26, 2014 at 11:42:39AM -0300, Otavio Salvador wrote: >> >> Hello Kai, >> >> >> >> On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang <kai.kang@windriver.com> wrote: >> >> > Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. >> >> >> >> Thanks for handling it; I was going to address same issue this week so >> >> we could have it upstreamed and drop the Freescale bbappends for it. >> > >> > So, we also have a recipe of cryptodev for TI builds. But it's not just a >> > header file and we need the actual module to be built and packaged... >> >> As long as something out of tree can co-exist with in-tree implementations, >> I don't see a problem with an incremental update that builds the module >> as well. > > Thanks. So, I already have cryptodev-tests as a separate recipe that builds > some tests from the same source, as main cryptodev. I guess I can look into > separating module part into cryptodev-module recipe, which can be optional for > kernels like linux-yocto that have it already patched in. Will that work? Absolutely. It's the same dance we do with lttng-modules, so we are on solid ground. Bruce > > -- > Denys -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-28 17:13 ` Denys Dmytriyenko 2014-03-28 17:18 ` Bruce Ashfield @ 2014-03-28 17:22 ` Richard Purdie 2014-03-28 17:37 ` Denys Dmytriyenko 1 sibling, 1 reply; 16+ messages in thread From: Richard Purdie @ 2014-03-28 17:22 UTC (permalink / raw) To: Denys Dmytriyenko Cc: Otavio Salvador, Patches and discussions about the oe-core layer On Fri, 2014-03-28 at 13:13 -0400, Denys Dmytriyenko wrote: > On Wed, Mar 26, 2014 at 11:42:39AM -0300, Otavio Salvador wrote: > > Hello Kai, > > > > On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang <kai.kang@windriver.com> wrote: > > > Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. > > > > Thanks for handling it; I was going to address same issue this week so > > we could have it upstreamed and drop the Freescale bbappends for it. > > So, we also have a recipe of cryptodev for TI builds. But it's not just a > header file and we need the actual module to be built and packaged... > > I'm rather surprised it was merged so quickly w/o further discussion... :( From my perspective, the ocf version looked dead and I had several people saying this was the right thing to do with nobody saying otherwise, both here on list and in some conversations I had with people. With the release approaching, it was kind of late to do it equally, it did appear to be the right thing to switch to so I got on and tested and then merged it. I don't consider things "set in stone", I think we can build upon this incrementally. Cheers, Richard ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-28 17:22 ` Richard Purdie @ 2014-03-28 17:37 ` Denys Dmytriyenko 0 siblings, 0 replies; 16+ messages in thread From: Denys Dmytriyenko @ 2014-03-28 17:37 UTC (permalink / raw) To: Richard Purdie Cc: Otavio Salvador, Patches and discussions about the oe-core layer On Fri, Mar 28, 2014 at 05:22:14PM +0000, Richard Purdie wrote: > On Fri, 2014-03-28 at 13:13 -0400, Denys Dmytriyenko wrote: > > On Wed, Mar 26, 2014 at 11:42:39AM -0300, Otavio Salvador wrote: > > > Hello Kai, > > > > > > On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang <kai.kang@windriver.com> wrote: > > > > Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. > > > > > > Thanks for handling it; I was going to address same issue this week so > > > we could have it upstreamed and drop the Freescale bbappends for it. > > > > So, we also have a recipe of cryptodev for TI builds. But it's not just a > > header file and we need the actual module to be built and packaged... > > > > I'm rather surprised it was merged so quickly w/o further discussion... :( > > From my perspective, the ocf version looked dead and I had several > people saying this was the right thing to do with nobody saying > otherwise, both here on list and in some conversations I had with > people. With the release approaching, it was kind of late to do it > equally, it did appear to be the right thing to switch to so I got on > and tested and then merged it. > > I don't consider things "set in stone", I think we can build upon this > incrementally. Thanks. I'll try to work an incremental solution, then, so it works for us and doesn't break other use cases - please see my reply to Bruce. -- Denys ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-26 10:15 [PATCH 0/3] Replace ocf-linux with cryptodev-linux Kai Kang ` (3 preceding siblings ...) 2014-03-26 14:42 ` [PATCH 0/3] Replace ocf-linux with cryptodev-linux Otavio Salvador @ 2014-03-28 9:50 ` Richard Purdie 2014-03-31 3:02 ` Kang Kai 4 siblings, 1 reply; 16+ messages in thread From: Richard Purdie @ 2014-03-28 9:50 UTC (permalink / raw) To: Kai Kang; +Cc: openembedded-core On Wed, 2014-03-26 at 18:15 +0800, Kai Kang wrote: > Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. > > Build for qemux86 and qemuarm. Test on qemux86. This did break the build: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8c3eb5ee4582b6f6d489549290937657f37fc19e however I've fixed it. Cheers, Richard ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/3] Replace ocf-linux with cryptodev-linux 2014-03-28 9:50 ` Richard Purdie @ 2014-03-31 3:02 ` Kang Kai 0 siblings, 0 replies; 16+ messages in thread From: Kang Kai @ 2014-03-31 3:02 UTC (permalink / raw) To: Richard Purdie; +Cc: openembedded-core On 2014年03月28日 17:50, Richard Purdie wrote: > On Wed, 2014-03-26 at 18:15 +0800, Kai Kang wrote: >> Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. >> >> Build for qemux86 and qemuarm. Test on qemux86. > This did break the build: > > http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8c3eb5ee4582b6f6d489549290937657f37fc19e > > however I've fixed it. Thanks, RP. -- Kai > > Cheers, > > Richard > > > -- Regards, Neil | Kai Kang ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2014-03-31 3:02 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-03-26 10:15 [PATCH 0/3] Replace ocf-linux with cryptodev-linux Kai Kang 2014-03-26 10:15 ` [PATCH 1/3] cryptodev-linux: add recipe Kai Kang 2014-03-26 14:40 ` Otavio Salvador 2014-03-28 17:11 ` Denys Dmytriyenko 2014-03-26 10:15 ` [PATCH 2/3] openssl: replace dependency ocf-linux with cryptodev-linux Kai Kang 2014-03-26 10:15 ` [PATCH 3/3] ocf-linux: remove recipe Kai Kang 2014-03-26 14:42 ` [PATCH 0/3] Replace ocf-linux with cryptodev-linux Otavio Salvador 2014-03-28 3:03 ` Kang Kai 2014-03-28 17:13 ` Denys Dmytriyenko 2014-03-28 17:18 ` Bruce Ashfield 2014-03-28 17:34 ` Denys Dmytriyenko 2014-03-28 17:42 ` Bruce Ashfield 2014-03-28 17:22 ` Richard Purdie 2014-03-28 17:37 ` Denys Dmytriyenko 2014-03-28 9:50 ` Richard Purdie 2014-03-31 3:02 ` Kang Kai
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox