Jacob Barthelmeh
|
9dcc48c8f7
update copyright to 2023
|
há 1 ano atrás |
Daniel Pouzzner
|
23b16c09d7
linuxkm/Makefile: add support for $KBUILD_EXTRA_FLAGS.
|
há 2 anos atrás |
Daniel Pouzzner
|
542c53f3ac
snip out errant "#/" strings added to various text files by copyright boilerplate update in 8eaa85e412.
|
há 2 anos atrás |
Jacob Barthelmeh
|
8eaa85e412
update copyright year to 2022
|
há 2 anos atrás |
Masashi Honma
|
ace5d444a4
Fix failure of make distclean when linuxkm is enabled
|
há 3 anos atrás |
Masashi Honma
|
30a01a0758
Fix failure of check at commiting when linuxkm is enabled
|
há 3 anos atrás |
Daniel Pouzzner
|
742492cb5e
linuxkm/Makefile: fix module sign-file error handling.
|
há 3 anos atrás |
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.
|
há 3 anos atrás |
Daniel Pouzzner
|
3745b1c9db
linuxkm: fix clean rules/definitions to not pick up top level Makefile, and to clean up empty object directories.
|
há 3 anos atrás |
Daniel Pouzzner
|
947a0d6a2f
autotools/Makefiles: enable reproducible build by default for FIPS, and add -DHAVE_REPRODUCIBLE_BUILD to AM_CFLAGS;
|
há 3 anos atrás |
Daniel Pouzzner
|
34e88b0605
linuxkm: properly pass {AM_,}CPPFLAGS to Kbuild, and include kdf.h in module_exports.c.template.
|
há 3 anos atrás |
Daniel Pouzzner
|
83e0e19e03
linuxkm feature additions:
|
há 3 anos atrás |
Daniel Pouzzner
|
3226e69649
--enable-linuxkm-pie (FIPS Linux kernel module) (#4276)
|
há 3 anos atrás |
Daniel Pouzzner
|
15c890179f
Linux kernel module: add an explicit -ffreestanding to CFLAGS in linuxkm/Makefile, and in wc_port.h ifdef WOLFSSL_LINUXKM, ignore -Wtype-limits in Linux kernel header files (needed for kernel v5.13), and suppress inclusion of stdint-gcc.h.
|
há 3 anos atrás |
Jacob Barthelmeh
|
c729318ddd
update copyright date
|
há 3 anos atrás |
Daniel Pouzzner
|
3858bda7e9
add "module", "modules_install", and "clean_module" rules to BUILD_LINUXKM section of Makefile.am, and add working install rule to linuxkm/Makefile, so that "make module" and "make modules_install" now work when --enable-linuxkm; fix "make dist" logic in Makefile.am and scripts/include.am to be unaffected by --enable-linuxkm; don't build wolfcrypt/benchmark or testwolfcrypt when --enable-linuxkm and --enable-crypttests.
|
há 4 anos atrás |
Daniel Pouzzner
|
5d1bea4ff7
linuxkm/Makefile: rename KERNEL_OPT to KERNEL_EXTRA_CFLAGS.
|
há 4 anos atrás |
Daniel Pouzzner
|
5504d9cd4e
linuxkm: dial in SIMD options in Kbuild; add boilerplate at the top of all files added for linuxkm.
|
há 4 anos atrás |
Daniel Pouzzner
|
69052ff535
linuxkm: explanatory message and error exit on attempted make install.
|
há 4 anos atrás |
Daniel Pouzzner
|
05bca8b0ee
when BUILD_LINUXKM, suppress building the library; rename $KROOT/$KARCH to $KERNEL_ROOT/$KERNEL_ARCH; remove SIMD enablement from linuxkm CFLAGS; add linuxkm support for -DKERNEL_OPT=x.
|
há 4 anos atrás |
Daniel Pouzzner
|
9549a5f973
linuxkm: add linuxkm/module_exports.c.template, and autogenerate linuxkm/module_exports.c.
|
há 4 anos atrás |
Daniel Pouzzner
|
d7450b85f7
linuxkm/Makefile: use -Wno-declaration-after-statement (needed for heapful DECLARE_VAR() et al).
|
há 4 anos atrás |
Daniel Pouzzner
|
9611f7abfd
linuxkm/Makefile: add no-op distdir rule.
|
há 4 anos atrás |
Daniel Pouzzner
|
03fe9c15c0
linuxkm/Makefile: add do-nothing dist rule, and refactor setness tests for libwolfssl.ko to be make-dist-compatible.
|
há 4 anos atrás |
Daniel Pouzzner
|
c194fb3beb
lkm: add autodetection of kernel stack frame size; reactivate objtool scrutiny since _asm files are indeed not yet kernel-compatible; delete linuxkm/lkm_testcrypto.c and use wolfcrypt/test/test.c.
|
há 4 anos atrás |
Daniel Pouzzner
|
34fd53b4fc
linuxkm: WIP support for wolfcrypt_test() at module load time.
|
há 4 anos atrás |
Daniel Pouzzner
|
836915d05f
linuxkm: configure.ac more incompatible options: --enable-fastmath, --enable-iopool, and --enable-fips; linuxkm/Makefile: reduce -Wframe-larger-than from 65536 to kernel-compatible 5000; wolfssl/wolfcrypt/settings.h: unset HAVE_THREAD_LS when WOLFSSL_LINUXKM; wolfssl/wolfcrypt/types.h: when NO_INLINE and __GNUC__, #define WC_INLINE __attribute__((unused)) rather than to nothing to avoid -Wunused-function warnings; wolfssl/wolfcrypt/wc_port.h: #undef noinline after Linux kernel header includes (another macro conflict).
|
há 4 anos atrás |
Daniel Pouzzner
|
2591479866
linuxkm: add macros mapping malloc(), free(), and realloc() to the kernel equivalents, don't set WOLFSSL_NO_MALLOC, and reduce -Wframe-larger-than= from 256k to 64k; tweak fix for HAVE_INTEL_RDSEED conflict with WOLFSSL_LINUXKM; add clean rule to linuxkm/Makefile.
|
há 4 anos atrás |
Daniel Pouzzner
|
c0d831ea3a
whoops, can't assert on non-empty "$(AM_CCASFLAGS)$(CCASFLAGS)" in linuxkm/Makefile -- they are often legitimately empty.
|
há 4 anos atrás |
Daniel Pouzzner
|
1aa15632ce
initial buildability of full libwolfssl.ko loadable kernel module for Linux via ./configure --enable-linuxkm && make.
|
há 4 anos atrás |