bsdkm: review cleanup.

This commit is contained in:
jordan
2026-01-09 08:07:28 -06:00
parent b33a8568c3
commit 99527be3bf
3 changed files with 8 additions and 5 deletions

View File

@@ -66,7 +66,6 @@ fips_hash=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
placeholder.
```sh
$ sudo kldload bsdkm/libwolfssl.ko
Password:
kldload: an error occurred while loading module bsdkm/libwolfssl.ko. Please check dmesg(8) for more details.
```
@@ -88,6 +87,11 @@ Id Refs Name
523 1 libwolfssl_fips
```
Unload with
```
sudo kldunload libwolfssl
```
On unload, the FIPS self-test will run a final time and print its status
to system message buffer:

View File

@@ -44,8 +44,9 @@
* extern global version from /usr/src/sys/sys/systm.h */
#define version wc_version
#define wc_km_printf printf
#define wc_km_print_err printf
/* printf and logging defines */
#define wc_km_printf printf
#define WOLFSSL_DEBUG_PRINTF_FN printf
/* str and char utility functions */
#define XATOI(s) ({ \

View File

@@ -1430,8 +1430,6 @@
#endif
#define printf(...) wc_km_printf(__VA_ARGS__)
#define wc_km_print_err pr_err
#ifdef HAVE_FIPS
extern void fipsEntry(void);
#endif