Commit Graph

8 Commits

Author SHA1 Message Date
Gabriel Valcazar f6697af5d1 openssl: modify patch to load pkcs11 engine instead of cryptochip engine
The previous patch was outdated, but now that we have a working PKCS11 engine
and the cryptochip supports it, update the patch with the new engine info.

https://jira.digi.com/browse/DEL-6835

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-11-12 16:22:03 +01:00
Gabriel Valcazar 255244647e openssl: add the openssl-bin package to libcrypto's RRECOMMENDS
This way, we assure that the openssl binary is included in the rootfs whenever
the base openssl package is included.

https://jira.digi.com/browse/DEL-6710

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-08-22 14:18:02 +02:00
Arturo Buzarra b04b818426 thud migration: refresh OpenSSL patches to version 1.1.x
Removed patches already integrated in the OpenSSL code and
refreshed the necessary ones.

https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 09:51:51 +01:00
Gabriel Valcazar 9442509ea2 openssl: add compatibility with applications linking to v1.0.0 or higher
Our current OpenSSL libraries are only functional when applications link
against v1.0.2d or higher, making some packages containing pre-compiled
applications that link to older versions (like AWS Greengrass) fail to build
and/or run properly.

This commit includes:
	* Changing SHLIB_EXT from so.1.0.2 to so.1.0.0
	* Reverting the version-script to an older version with backwards
	  compatibility plus newer symbols

Specifically, these changes partially revert the patches added in the poky
layer's commits a59bfd05d15085a3dc5669b47fd19867246c846b and
73a43fc15e0463c39baaadecab78fb3ef51b8cd0 respectively.

Please note that this only modifies the cryptographic library's ABI, its code
remains unchanged.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-10-22 11:35:36 +02:00
Gabriel Valcazar d9b333db05 cryptochip: add cryptochip MACHINE_FEATURE in several recipes
This simplifies some dependencies and makes them more explicit.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-02 10:55:11 +02:00
Gabriel Valcazar af1463179a openssl: add cryptouthlib patches to the ccimx8x
https://jira.digi.com/browse/DEL-6042

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-06-26 18:33:54 +02:00
Gabriel Valcazar 8e0be48793 openssl: Add patch to automatically load cryptochip engine
https://jira.digi.com/browse/DEL-5592

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-05-09 09:16:10 +02:00
Javier Viguera 2a8e1d7002 openssl: update cryptodev engine implementation
As of Yocto 2.0, the cryptodev module used as interface between
user-space and hardware encryption is the version 1.7.

According to that cryptodev's version documentation, the cryptodev
engine in openssh is outdated:

https://github.com/cryptodev-linux/cryptodev-linux/blob/cryptodev-linux-1.7/README

They provide an URL with two patches to update openssl. This commit
forward port those patches to the Openssl version used in this version
of Yocto.

https://jira.digi.com/browse/DEL-2501

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-05-27 16:10:36 +02:00