Daniel Pouzzner
|
44e0ee1ecd
wolfssl/wolfcrypt/types.h:
|
8 сар өмнө |
Daniel Pouzzner
|
10645de648
linuxkm: various tweaks:
|
9 сар өмнө |
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 сар өмнө |
Daniel Pouzzner
|
82d94dab68
linuxkm: move "#undef HAVE_PTHREAD" from linuxkm/module_hooks.c to wolfssl/wolfcrypt/settings.h.
|
9 сар өмнө |
Daniel Pouzzner
|
b1e5d0f9bb
linuxkm: completion and stabilization of LKCAPI integration for AES-CBC, AES-CFB, AES-GCM, and AES-XTS:
|
9 сар өмнө |
Daniel Pouzzner
|
1f4cf4188d
linuxkm:
|
9 сар өмнө |
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.
|
9 сар өмнө |
Daniel Pouzzner
|
d722276c50
linuxkm/module_hooks.c: add proper gating for my_fpregs_[un]lock().
|
10 сар өмнө |
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 сар өмнө |
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 */";
|
1 жил өмнө |
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().
|
1 жил өмнө |
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 жил өмнө |
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 жил өмнө |
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.
|
1 жил өмнө |
Jacob Barthelmeh
|
9dcc48c8f7
update copyright to 2023
|
1 жил өмнө |
Daniel Pouzzner
|
cb1b20dc8e
linuxkm/: accomodate refactoring in kernel 6.2+ of `cpu_number` to be an element of the `pcpu_hot``structure.
|
1 жил өмнө |
Daniel Pouzzner
|
c8c107a09e
linuxkm/: fixes to deal with kernel 6.1+ show_free_areas() mess.
|
2 жил өмнө |
Jacob Barthelmeh
|
8eaa85e412
update copyright year to 2022
|
2 жил өмнө |
Daniel Pouzzner
|
26673a0f28
where appropriate, use strcmp/strcasecmp, not strncmp/strncasecmp;
|
2 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Daniel Pouzzner
|
beebd1411d
linuxkm/module_hooks.c: fix whitespace, and update code around WOLFCRYPT_FIPS_CORE_DYNAMIC_HASH_VALUE and updateFipsHash().
|
3 жил өмнө |
Daniel Pouzzner
|
6f18ba15b0
linuxkm: accommodate printk()->_printk() renaming in kernel 5.15+.
|
3 жил өмнө |
Daniel Pouzzner
|
8ee49cd50c
linuxkm: in module_hooks.c:wolfssl_init(), add support for WC_RNG_SEED_CB.
|
3 жил өмнө |
Daniel Pouzzner
|
071be3171e
linuxkm: in module_hooks.c, fix logic+gating around CONFIG_MODULE_SIG and WOLFCRYPT_FIPS_CORE_DYNAMIC_HASH_VALUE.
|
3 жил өмнө |
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 жил өмнө |
Daniel Pouzzner
|
83e0e19e03
linuxkm feature additions:
|
3 жил өмнө |
Daniel Pouzzner
|
3226e69649
--enable-linuxkm-pie (FIPS Linux kernel module) (#4276)
|
3 жил өмнө |
Jacob Barthelmeh
|
c729318ddd
update copyright date
|
3 жил өмнө |
Daniel Pouzzner
|
542ad0a81b
linuxkm/module_hooks.c: separate cleanup into static libwolfssl_cleanup(), and call it from wolfssl_init() if wolfcrypt_test() fails.
|
3 жил өмнө |