mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 19:42:22 +01:00
* Implement --enable-linuxkm-lkcapi-register=stdrng and =stdrng-default, LINUXKM_LKCAPI_REGISTER_HASH_DRBG, and LINUXKM_LKCAPI_REGISTER_HASH_DRBG_DEFAULT. With "_DEFAULT", the DRBG is installed as the systemwide default stdrng, necessitating deregister-on-command, described below. Note that get_random_bytes() and the associated /dev/random and /dev/urandom do not use the default stdrng, and their back end cannot currently be replaced by a module. * Add control nodes /sys/module/libwolfssl/install_algs and /sys/module/libwolfssl/deinstall_algs. * Add configure option --enable-linuxkm-lkcapi-register=sysfs-nodes-only, and macro LINUXKM_LKCAPI_REGISTER_ONLY_ON_COMMAND, to inhibit registration at module load time. In configure.ac ENABLED_LINUXKM_LKCAPI_REGISTER setup, don't define WOLFSSL_DH_GEN_PUB in old FIPS, but do define it for =all.