Daniel Pouzzner
|
6146485d2a
linuxkm/linuxkm_wc_port.h:
|
9 months ago |
Daniel Pouzzner
|
3a280e8295
linuxkm fixes:
|
9 months ago |
Daniel Pouzzner
|
6261108d49
linuxkm: fix line lengths throughout; in linuxkm/lkcapi_glue.c: fix/harmonize error catching, reporting, and error codes; further address peer review feedback.
|
9 months ago |
Daniel Pouzzner
|
1fc67183a5
linuxkm: address peer review:
|
9 months ago |
Daniel Pouzzner
|
8ae031a5ed
linuxkm/linuxkm_wc_port.h: improve my_memcpy(), my_memset(), and my_memmove() (CONFIG_FORTIFY_SOURCE workarounds) with copy-by-words codepaths.
|
9 months ago |
Daniel Pouzzner
|
b1e5d0f9bb
linuxkm: completion and stabilization of LKCAPI integration for AES-CBC, AES-CFB, AES-GCM, and AES-XTS:
|
9 months ago |
Daniel Pouzzner
|
1f4cf4188d
linuxkm:
|
9 months ago |
Daniel Pouzzner
|
9c36bb9073
linuxkm: add WOLFSSL_COMMERCIAL_LICENSE alternative to kernel_fpu_begin()/kernel_fpu_end() in save_vector_registers_x86()/restore_vector_registers_x86(): allocate wc_linuxkm_fpu_savebufs as a buffer for os_xsave()/os_xrstor(), and use fpregs_lock()/fpregs_unlock() to inhibit softirqs/preemption.
|
10 months ago |
Daniel Pouzzner
|
44b18de704
fixes for cppcheck-2.13.0 --force:
|
10 months ago |
Daniel Pouzzner
|
a10260ca5f
refactor AESNI implementations and *VECTOR_REGISTERS* macros to allow dynamic as-needed fallback to pure C, via WC_AES_C_DYNAMIC_FALLBACK.
|
1 year ago |
Daniel Pouzzner
|
63e167e974
linuxkm/linuxkm_wc_port.h: add missing prototype for my__show_free_areas().
|
1 year ago |
Daniel Pouzzner
|
e35cb5bc3d
linuxkm/linuxkm_wc_port.h: override definition of __is_constexpr() from /usr/src/linux/include/linux/const.h with warning-free __builtin_constant_p().
|
1 year ago |
Daniel Pouzzner
|
4f4842fce6
linuxkm/linuxkm_memory.c: refactor SAVE/RESTORE_VECTOR_REGISTERS() to be per-process rather than per-CPU, and add migrate_disable/enable() to kernel_fpu_begin/end() because preempt_disable() is just a barrier on _PREEMPT_VOLUNTARY kernels;
|
1 year ago |
Daniel Pouzzner
|
ec9beaab41
linuxkm: add coverage for Linux 6.4+ module memory layout refactor; also, refactor WOLFSSL_LINUXKM_USE_SAVE_VECTOR_REGISTERS to make it settable independent of WOLFSSL_AESNI etc.
|
1 year ago |
Jacob Barthelmeh
|
9dcc48c8f7
update copyright to 2023
|
1 year ago |
Daniel Pouzzner
|
cb1b20dc8e
linuxkm/: accomodate refactoring in kernel 6.2+ of `cpu_number` to be an element of the `pcpu_hot``structure.
|
1 year ago |
Daniel Pouzzner
|
c8c107a09e
linuxkm/: fixes to deal with kernel 6.1+ show_free_areas() mess.
|
2 years ago |
Daniel Pouzzner
|
f414e65d4b
linuxkm: eliminate duplicative WOLFSSL_KTHREADS macro (just use WOLFSSL_LINUXKM).
|
2 years ago |
Daniel Pouzzner
|
a22da10956
linuxkm: tweak setup of wolfSSL_Mutex to assure complete type availability in applications (client modules).
|
2 years ago |
Daniel Pouzzner
|
26673a0f28
where appropriate, use strcmp/strcasecmp, not strncmp/strncasecmp;
|
2 years ago |
Daniel Pouzzner
|
af8865d13e
linuxkm_wc_port.h: move several more definitions outside the BUILDING_WOLFSSL gate, as they are needed for applications to include various wolfssl headers.
|
2 years ago |
Daniel Pouzzner
|
49fc54ef1f
linuxkm/linuxkm_wc_port.h: move XMALLOC/XREALLOC/XFREE definitions outside BUILDING_WOLFSSL gate as-was, for back-compat.
|
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 |