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 semaine |
Daniel Pouzzner
|
84f0800b96
configure.ac:
|
il y a 2 mois |
Daniel Pouzzner
|
87aef05f16
linuxkm: add GetCAByKeyHash to wolfssl_linuxkm_pie_redirect_table.
|
il y a 2 mois |
Daniel Pouzzner
|
b178138d83
src/internal.c: in wolfSSL_ERR_reason_error_string(), add missing error string for SCR_DIFFERENT_CERT_E, and de-gate error strings previously gated on HAVE_HTTP_CLIENT.
|
il y a 3 mois |
Daniel Pouzzner
|
05c4955316
linuxkm: add support for WOLFSSL_DEBUG_BACKTRACE_ERROR_CODES using dump_stack().
|
il y a 3 mois |
Andras Fekete
|
d7a0f49906
Programmatically remove NULL test before XFREE
|
il y a 3 mois |
Daniel Pouzzner
|
19ea0b22d0
linuxkm: update for kernel 6.11 (__kvmalloc_node_noprof and __kmalloc_cache_noprof).
|
il y a 3 mois |
JacobBarthelmeh
|
31a6a2bf59
update copyright to 2024
|
il y a 4 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 6 mois |
Daniel Pouzzner
|
6e0a90190f
fixes for v5 and v6+ FIPS builds, including linuxkm v6+ builds.
|
il y a 7 mois |
Daniel Pouzzner
|
44e0ee1ecd
wolfssl/wolfcrypt/types.h:
|
il y a 9 mois |
Daniel Pouzzner
|
10645de648
linuxkm: various tweaks:
|
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
|
82d94dab68
linuxkm: move "#undef HAVE_PTHREAD" from linuxkm/module_hooks.c to wolfssl/wolfcrypt/settings.h.
|
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 10 mois |
Daniel Pouzzner
|
1f4cf4188d
linuxkm:
|
il y a 10 mois |
Daniel Pouzzner
|
6e559ed015
linuxkm: squash of philljj's POC work integrating libwolfssl.ko with crypto_register_skcipher/crypto_register_aead, start 2022-12-26, end 2023-01-14.
|
il y a 10 mois |
Daniel Pouzzner
|
d722276c50
linuxkm/module_hooks.c: add proper gating for my_fpregs_[un]lock().
|
il y a 10 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 10 mois |
Daniel Pouzzner
|
f6f8d2eda3
add WC_DO_NOTHING macro to wolfssl/wolfcrypt/types.h, with default expansion "do {} while (0)", and globally refactor to use the macro where appropriate, annotating intended-null macros-with-args with "/* null expansion */";
|
il y a 1 an |
Daniel Pouzzner
|
fffff657de
cleanups: line length, WOLFSSL_SMALL_STACK_STATIC, and SAVE_VECTOR_REGISTERS() failure trap in benchmark.c, proper path to benchmark.c in linuxkm/module_hooks.c, and proper casting in aes.c. also harmonized semantics and prototype of bench_ripemd().
|
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 |
Daniel Pouzzner
|
aecb37c032
linuxkm/module_hooks.c: wc_SetSeed_Cb(wc_GenerateSeed) in wolfssl_init() #ifdef WC_RNG_SEED, regardless of whether wolfcrypt_test() will be called.
|
il y a 1 an |
Jacob Barthelmeh
|
9dcc48c8f7
update copyright to 2023
|
il y a 1 an |
Daniel Pouzzner
|
cb1b20dc8e
linuxkm/: accomodate refactoring in kernel 6.2+ of `cpu_number` to be an element of the `pcpu_hot``structure.
|
il y a 1 an |
Daniel Pouzzner
|
c8c107a09e
linuxkm/: fixes to deal with kernel 6.1+ show_free_areas() mess.
|
il y a 2 ans |
Jacob Barthelmeh
|
8eaa85e412
update copyright year to 2022
|
il y a 2 ans |
Daniel Pouzzner
|
26673a0f28
where appropriate, use strcmp/strcasecmp, not strncmp/strncasecmp;
|
il y a 2 ans |