wolfssl: add libwolfssl-cpu-crypto package
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Mon, 8 Aug 2022 00:56:50 +0000 (21:56 -0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 16 Sep 2022 06:30:26 +0000 (08:30 +0200)
commitc3e7d86d2b1d2645e394464d828bb248d47379d0
tree3f145933762d5dc1fd9644359b6c1b6dfe9e0ac8
parent94129cbefb6027cdfe2b7801a6e27a36d4ec58b8
wolfssl: add libwolfssl-cpu-crypto package

libwolfssl-cpu-crypto is a variant of libwolfssl with support for
cryptographic CPU instructions on x86_64 and aarch64.

On aarch64, wolfSSL does not perform run-time detection, so the library
will crash when the AES functions are called.  A preinst script attempts
to check for support by querying /proc/cpuinfo, if installed in a
running system.  When building an image, the script will check the
DISTRIB_TARGET value in /etc/openwrt_release, and will abort
installation if target is bcm27xx.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
package/libs/wolfssl/Config.in
package/libs/wolfssl/Makefile
package/libs/wolfssl/preinst.arm-ce [new file with mode: 0644]