openssl: backport devcrypto changes from master
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 27 Feb 2019 21:39:18 +0000 (21:39 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 9 Mar 2019 17:55:07 +0000 (18:55 +0100)
commitd971ae51a51cb1b145b6fbbf7d1327a99be257b1
tree767db48749564fe5ca80e00fca3461f80f8b7af7
parentc3425be0820b215f44ebf831a0b794e1b70441ad
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>
package/libs/openssl/Config.in
package/libs/openssl/Makefile
package/libs/openssl/patches/100-Configure-afalg-support.patch
package/libs/openssl/patches/130-dont-build-tests-fuzz.patch
package/libs/openssl/patches/140-allow-prefer-chacha20.patch
package/libs/openssl/patches/400-eng_devcrypto-save-ioctl-if-EVP_MD_.FLAG_ONESHOT.patch [new file with mode: 0644]
package/libs/openssl/patches/410-eng_devcrypto-add-configuration-options.patch [new file with mode: 0644]
package/libs/openssl/patches/420-eng_devcrypto-add-command-to-dump-driver-info.patch [new file with mode: 0644]
package/libs/openssl/patches/430-e_devcrypto-make-the-dev-crypto-engine-dynamic.patch [new file with mode: 0644]