-
Notifications
You must be signed in to change notification settings - Fork 907
bsdkm: initial wolfcrypt FreeBSD kernel module support. #9392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
douzzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1st round -- next round, will want help actually building locally. Actually naah, I have an IRL FreeBSD server online that I'll try it on. It's currently 14.2-RELEASE-p1.
|
Retest this please. (FIPS windows test misc issue). |
douzzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nearly ready. Left a few nits around warnings/typography, and one substantive to-do around setting up the target object list.
I ran the PR through '.*insmod.*' '.*linuxkm.*' rebased on then-current master and It Was Good:
final tally for 1f5701111e-on-5c421a152d with build env f2ab35ee71: all 104 selected checks succeeded.
douzzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ran through full multi-test:
final tally for 32db8b89e0 with build env 15c3562ffd: all 418 selected checks succeeded.
Description
Initial wolfcrypt-only, no-asm, FreeBSD kernel module support.
Build with
--enable-freebsdkm.Options:
--with-kernel-source=PATH(default/usr/src/sys).--with-bsd-export-syms=LIST. LIST = YES, NO, or list of symbols. (default NO). Exporting symbols is not strictly necessary if dependent modules useMODULE_DEPEND().Testing
Tested with:
Also tested with
bsd_example.kothat calls wolfcrypt API. Seekernel/bsdkm/README.mdin wolfssl-examples PR for full details: