mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 00:02:20 +01:00
smallstack refactors for wolfcrypt/src/rsa.c:wc_CheckProbablePrime_ex() and wolfcrypt/src/pwdbased.c:wc_PKCS12_PBKDF_ex(); add WARN_UNUSED_RESULT macro to types.h; text format cleanup; fix internal.c:LowResTimer() implementation. refactor tls13.c:TimeNowInMilliseconds() for kernel 4.9 and 3.16 compat. use ktime_get_coarse_real_ts64() only for kernel 5.x+. in kernel 4.x, use its older form, current_kernel_time64(), and in 3.x, use getnstimeofday(). linuxkm/module_hooks.c: fix wolfssl_init() pie code to be compatible with kernel 4.4-; fix allocate_wolfcrypt_irq_fpu_states() return codes to all be wolfcrypt codes, and in calling code, pass up that code (suggested by dgarske peer review).
15 KiB
15 KiB