diff options
author | Eneas U de Queiroz <cote2004-github@yahoo.com> | 2019-02-27 21:39:18 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-03-09 18:55:07 +0100 |
commit | d971ae51a51cb1b145b6fbbf7d1327a99be257b1 (patch) | |
tree | 767db48749564fe5ca80e00fca3461f80f8b7af7 /package/libs/openssl/Config.in | |
parent | c3425be0820b215f44ebf831a0b794e1b70441ad (diff) | |
download | upstream-d971ae51a51cb1b145b6fbbf7d1327a99be257b1.tar.gz upstream-d971ae51a51cb1b145b6fbbf7d1327a99be257b1.tar.bz2 upstream-d971ae51a51cb1b145b6fbbf7d1327a99be257b1.zip |
openssl: backport devcrypto changes from master
The patches to the /dev/crypto engine were commited to openssl master,
and will be in the next major version (3.0).
Changes:
- Optimization in computing a digest in one operation, saving an ioctl
- Runtime configuration options for the choice of algorithms to use
- Command to dump useful information about the algorithms supported by
the engine and the system.
- Build the devcrypto engine as a dynamic module, like other engines.
The devcrypto engine is built as a separate package by default, but
options were added to allow building the engines into the main library.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
[refresh patches]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/libs/openssl/Config.in')
-rw-r--r-- | package/libs/openssl/Config.in | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/package/libs/openssl/Config.in b/package/libs/openssl/Config.in index 3ad8a66b9e..235f38e787 100644 --- a/package/libs/openssl/Config.in +++ b/package/libs/openssl/Config.in @@ -253,18 +253,41 @@ config OPENSSL_ENGINE Note that you need to enable KERNEL_AIO to be able to build the afalg engine package. -config OPENSSL_ENGINE_CRYPTO +config OPENSSL_ENGINE_BUILTIN + bool "Build chosen engines into libcrypto" + depends on OPENSSL_ENGINE + help + This builds all chosen engines into libcrypto.so, instead of building + them as dynamic engines in separate packages. + The benefit of building the engines into libcrypto is that they won't + require any configuration to be used by default. + +config OPENSSL_ENGINE_BUILTIN_AFALG bool - select OPENSSL_ENGINE - select PACKAGE_kmod-cryptodev + prompt "Acceleration support through AF_ALG sockets engine" + depends on OPENSSL_ENGINE_BUILTIN && KERNEL_AIO && !LINUX_3_18 select PACKAGE_libopenssl-conf + help + This enables use of hardware acceleration through the + AF_ALG kenrel interface. + +config OPENSSL_ENGINE_BUILTIN_DEVCRYPTO + bool prompt "Acceleration support through /dev/crypto" + depends on OPENSSL_ENGINE_BUILTIN + select PACKAGE_libopenssl-conf help This enables use of hardware acceleration through OpenBSD Cryptodev API (/dev/crypto) interface. - You must install kmod-cryptodev (under Kernel modules, Cryptographic - API modules) for /dev/crypto to show up and use hardware - acceleration; otherwise it falls back to software. + +config OPENSSL_ENGINE_BUILTIN_PADLOCK + bool + prompt "VIA Padlock Acceleration support engine" + depends on OPENSSL_ENGINE_BUILTIN && TARGET_x86 + select PACKAGE_libopenssl-conf + help + This enables use of hardware acceleration through the + VIA Padlock module. config OPENSSL_WITH_ASYNC bool |