Daniel Pouzzner
|
7dcec3e62f
linuxkm: work around aarch64 dependency on alt_cb_patch_nops for enable-linuxkm-pie (FIPS support).
|
il y a 3 semaines |
Daniel Pouzzner
|
d85c108952
wolfssl/wolfcrypt/error-crypt.h, wolfcrypt/src/error.c: add WC_FAILURE ("wolfCrypt generic failure") with value -1, for traceable error return of -1 in wolfCrypt.
|
il y a 1 mois |
Daniel Pouzzner
|
9db74dc128
configure.ac: add AM_MAINTAINER_MODE([disable]);
|
il y a 1 mois |
Daniel Pouzzner
|
84f0800b96
configure.ac:
|
il y a 3 mois |
Daniel Pouzzner
|
87aef05f16
linuxkm: add GetCAByKeyHash to wolfssl_linuxkm_pie_redirect_table.
|
il y a 3 mois |
Daniel Pouzzner
|
05c4955316
linuxkm: add support for WOLFSSL_DEBUG_BACKTRACE_ERROR_CODES using dump_stack().
|
il y a 4 mois |
Daniel Pouzzner
|
19ea0b22d0
linuxkm: update for kernel 6.11 (__kvmalloc_node_noprof and __kmalloc_cache_noprof).
|
il y a 4 mois |
JacobBarthelmeh
|
31a6a2bf59
update copyright to 2024
|
il y a 5 mois |
Daniel Pouzzner
|
f6f83a20ed
linuxkm/linuxkm_wc_port.h: add a suppression needed for targeting LTS kernel version 4.14.336.
|
il y a 6 mois |
Daniel Pouzzner
|
41cbbfe3ab
linuxkm: updates for kernel 6.10: use new _noprof names for newly macro-shimmed kmalloc, krealloc, kzmalloc, kvmalloc_node, and kmalloc_trace, and refactor linuxkm/Makefile and linuxkm/Kbuild to set up links to sources in the dest tree (works around breakage from linux commit 9a0ebe5011).
|
il y a 6 mois |
Daniel Pouzzner
|
bc8664164b
linuxkm: move the *SAVE_VECTOR_REGISTERS* code from linuxkm/linuxkm_memory.c to linuxkm/x86_vector_register_glue.c, to move various fidgity/unstable kernel function calls outside the PIE wolfCrypt container.
|
il y a 7 mois |
Daniel Pouzzner
|
0566584191
implement full support for --enable-intelasm --enable-linuxkm. also add --enable-curve25519=noasm to allow use of the existing NO_CURVED25519_X64 code path by the linuxkm build (fe_x25519_asm.S is not kernel-compatible).
|
il y a 7 mois |
Daniel Pouzzner
|
6e0a90190f
fixes for v5 and v6+ FIPS builds, including linuxkm v6+ builds.
|
il y a 8 mois |
Sean Parkinson
|
30366a9c03
Merge pull request #7293 from douzzer/20240301-linuxkm-leak-and-small-stack-fixes
|
il y a 9 mois |
Daniel Pouzzner
|
b1edb08119
linuxkm/linuxkm_wc_port.h:
|
il y a 9 mois |
Daniel Pouzzner
|
dfbde4514b
global refactor of static mutex initialization to use WOLFSSL_MUTEX_INITIALIZER, and adjustment of WOLFSSL_MUTEX_INITIALIZER macro to take an argument, for Linux kernel compatibility.
|
il y a 9 mois |
Daniel Pouzzner
|
6146485d2a
linuxkm/linuxkm_wc_port.h:
|
il y a 10 mois |
Daniel Pouzzner
|
3a280e8295
linuxkm fixes:
|
il y a 10 mois |
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.
|
il y a 10 mois |
Daniel Pouzzner
|
1fc67183a5
linuxkm: address peer review:
|
il y a 10 mois |
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.
|
il y a 10 mois |
Daniel Pouzzner
|
b1e5d0f9bb
linuxkm: completion and stabilization of LKCAPI integration for AES-CBC, AES-CFB, AES-GCM, and AES-XTS:
|
il y a 11 mois |
Daniel Pouzzner
|
1f4cf4188d
linuxkm:
|
il y a 11 mois |
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.
|
il y a 11 mois |
Daniel Pouzzner
|
44b18de704
fixes for cppcheck-2.13.0 --force:
|
il y a 11 mois |
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.
|
il y a 1 an |
Daniel Pouzzner
|
63e167e974
linuxkm/linuxkm_wc_port.h: add missing prototype for my__show_free_areas().
|
il y a 1 an |
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().
|
il y a 1 an |
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;
|
il y a 1 an |
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.
|
il y a 1 an |