Daniel Pouzzner
|
26673a0f28
where appropriate, use strcmp/strcasecmp, not strncmp/strncasecmp;
|
2 years ago |
Daniel Pouzzner
|
ff4c6e5d7b
linuxkm: relocate WOLFSSL_LINUXKM code in wolfssl/wolfcrypt/wc_port.h and wolfcrypt/src/memory.c to linuxkm/{linuxkm_wc_port.h,linuxkm_memory.c}, and gate SIMD in IRQ handlers on -DLINUXKM_SIMD_IRQ in prep for Linux 5.16;
|
2 years ago |
Daniel Pouzzner
|
313d29f752
linuxkm: in module_hooks.c, refactor WOLFSSL_LINUXKM_SIMD_X86_IRQ_ALLOWED gates to WOLFSSL_LINUXKM_SIMD_X86, and add updateFipsHash().
|
3 years ago |
Daniel Pouzzner
|
beebd1411d
linuxkm/module_hooks.c: fix whitespace, and update code around WOLFCRYPT_FIPS_CORE_DYNAMIC_HASH_VALUE and updateFipsHash().
|
3 years ago |
Daniel Pouzzner
|
6f18ba15b0
linuxkm: accommodate printk()->_printk() renaming in kernel 5.15+.
|
3 years ago |
Daniel Pouzzner
|
8ee49cd50c
linuxkm: in module_hooks.c:wolfssl_init(), add support for WC_RNG_SEED_CB.
|
3 years ago |
Daniel Pouzzner
|
071be3171e
linuxkm: in module_hooks.c, fix logic+gating around CONFIG_MODULE_SIG and WOLFCRYPT_FIPS_CORE_DYNAMIC_HASH_VALUE.
|
3 years ago |
Daniel Pouzzner
|
6d715130a2
linuxkm: cleanups and smallstack refactors related to WOLFSSL_LINUXKM_SIMD_X86_IRQ_ALLOWED, associated linuxkm-SIMD-IRQ PR, and associated peer review:
|
3 years ago |
Daniel Pouzzner
|
83e0e19e03
linuxkm feature additions:
|
3 years ago |
Daniel Pouzzner
|
3226e69649
--enable-linuxkm-pie (FIPS Linux kernel module) (#4276)
|
3 years ago |
Jacob Barthelmeh
|
c729318ddd
update copyright date
|
3 years ago |
Daniel Pouzzner
|
542ad0a81b
linuxkm/module_hooks.c: separate cleanup into static libwolfssl_cleanup(), and call it from wolfssl_init() if wolfcrypt_test() fails.
|
4 years ago |
Daniel Pouzzner
|
4efa85dc03
linuxkm/module_hooks.c: add support for WOLFCRYPT_ONLY.
|
4 years ago |
Daniel Pouzzner
|
5504d9cd4e
linuxkm: dial in SIMD options in Kbuild; add boilerplate at the top of all files added for linuxkm.
|
4 years ago |
Daniel Pouzzner
|
217ec4ebd3
lkm: tweaks to self-test dynamics/messages.
|
4 years ago |
Daniel Pouzzner
|
554879da00
lkm: self-test working now (certain options, which ones TBD, crash kernel).
|
4 years ago |
Daniel Pouzzner
|
34fd53b4fc
linuxkm: WIP support for wolfcrypt_test() at module load time.
|
4 years ago |
Daniel Pouzzner
|
0c35998178
linuxkm/module_hooks.c: log "cleanup complete" at unload time.
|
4 years ago |
Daniel Pouzzner
|
2a3fd57b36
linuxkm/Kbuild, linuxkm/module_hooks.c: tweaks for buildability on kernel 4.9 (may also fix build on 3.x).
|
4 years ago |
Daniel Pouzzner
|
1aa15632ce
initial buildability of full libwolfssl.ko loadable kernel module for Linux via ./configure --enable-linuxkm && make.
|
4 years ago |