Daniel Pouzzner
|
21484ec75a
linuxkm: add asm support for Kyber.
|
4 månader sedan |
Daniel Pouzzner
|
6ee22de999
linuxkm: initial support for cross-compilation.
|
5 månader sedan |
JacobBarthelmeh
|
31a6a2bf59
update copyright to 2024
|
5 månader sedan |
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).
|
7 månader sedan |
Daniel Pouzzner
|
28480ec0ea
linuxkm/Kbuild: add SHA-2, SHA-3, ChaCha20, and poly1305, to kernel-safe vectorized-asm list.
|
8 månader sedan |
Daniel Pouzzner
|
44e0ee1ecd
wolfssl/wolfcrypt/types.h:
|
10 månader sedan |
Daniel Pouzzner
|
e1ee5e4421
linuxkm: spruce up arch-dependent CFLAGS setup in linuxkm/Kbuild; add "failed:" to error messages in km_AesGcmEncrypt() and km_AesGcmDecrypt().
|
11 månader sedan |
Daniel Pouzzner
|
b1e5d0f9bb
linuxkm: completion and stabilization of LKCAPI integration for AES-CBC, AES-CFB, AES-GCM, and AES-XTS:
|
11 månader sedan |
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.
|
11 månader sedan |
Sean Parkinson
|
3ea0fb30dd
AES XTS x64 ASM: add AVX1 and AESNI implementations
|
1 år sedan |
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 år sedan |
Jacob Barthelmeh
|
9dcc48c8f7
update copyright to 2023
|
2 år sedan |
Daniel Pouzzner
|
542c53f3ac
snip out errant "#/" strings added to various text files by copyright boilerplate update in 8eaa85e412.
|
2 år sedan |
David Garske
|
564f79c91a
Merge pull request #5371 from douzzer/20220719-linuxkm-get_thread_size-no-thunks
|
2 år sedan |
Jacob Barthelmeh
|
8eaa85e412
update copyright year to 2022
|
2 år sedan |
Daniel Pouzzner
|
0dac3ec022
linuxkm: inhibit thunk generation in get_thread_size.
|
2 år sedan |
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;
|
3 år sedan |
Daniel Pouzzner
|
fc73c6dbea
linuxkm: fix Makefile to properly pivot module signature on CONFIG_MODULE_SIG==y; remove not-yet-kernel-compatible asm files from the ASFLAGS_FPU_DISABLE_SIMD_ENABLE list, matching the OBJECT_FILES_NON_STANDARD list, for clarity.
|
3 år sedan |
Daniel Pouzzner
|
aca43cfe52
linuxkm/Kbuild: include -fno-omit-frame-pointer in HOST_EXTRACFLAGS, in case the target kernel has profiling enabled; remove the "always := $(hostprogs)" rule, as it doesn't work and causes warnings on kernel 5.10.
|
3 år sedan |
Daniel Pouzzner
|
6160da243d
linuxkm: use EXPORT_SYMBOL_NS_GPL() for exports.
|
3 år sedan |
Daniel Pouzzner
|
3745b1c9db
linuxkm: fix clean rules/definitions to not pick up top level Makefile, and to clean up empty object directories.
|
3 år sedan |
Daniel Pouzzner
|
83e0e19e03
linuxkm feature additions:
|
3 år sedan |
Daniel Pouzzner
|
3226e69649
--enable-linuxkm-pie (FIPS Linux kernel module) (#4276)
|
3 år sedan |
Jacob Barthelmeh
|
c729318ddd
update copyright date
|
3 år sedan |
Daniel Pouzzner
|
b468ea77ea
linuxkm: use EXPORT_SYMBOL_NS(x, WOLFSSL) if available, else fall back to EXPORT_SYMBOL(x).
|
4 år sedan |
Daniel Pouzzner
|
8496a64ed4
linuxkm/Kbuild: the x86 _asm object files still reference "_GLOBAL_OFFSET_TABLE_", so they can't work in the kernel as-is.
|
4 år sedan |
Daniel Pouzzner
|
7c2aefcfdd
linuxkm: enable the rest of the _asm implementations for x86, wrapped in {SAVE,RESTORE}_VECTOR_REGISTERS().
|
4 år sedan |
Daniel Pouzzner
|
5589565051
linuxkm: add autotools detection of usable compiler flags for enabling and disabling SIMD and fp registers and auto-vectorization, and integrate into linuxkm makefiles.
|
4 år sedan |
Daniel Pouzzner
|
5504d9cd4e
linuxkm: dial in SIMD options in Kbuild; add boilerplate at the top of all files added for linuxkm.
|
4 år sedan |
Daniel Pouzzner
|
4f38fb2f78
linuxkm/Kbuild: gate EXPORT_SYMBOL(wolfcrypt_test) on -UNO_CRYPT_TEST.
|
4 år sedan |