Skip to content

zfs: support wolfzfs patch.#10397

Open
philljj wants to merge 1 commit intowolfSSL:masterfrom
philljj:support_wolfzfs
Open

zfs: support wolfzfs patch.#10397
philljj wants to merge 1 commit intowolfSSL:masterfrom
philljj:support_wolfzfs

Conversation

@philljj
Copy link
Copy Markdown
Contributor

@philljj philljj commented May 5, 2026

Description

wolfzfs: support for wolfcrypt patch to OpenZFS.

@philljj philljj self-assigned this May 5, 2026
Copilot AI review requested due to automatic review settings May 5, 2026 06:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new --enable-wolfzfs configure-time path intended to tailor wolfSSL/wolfCrypt builds for the OpenZFS wolfCrypt patch, mainly by toggling crypto feature flags and kernel-oriented build defines in configure.ac.

Changes:

  • Adds a new --enable-wolfzfs configure option with yes/kernel handling.
  • Forces wolfzfs-related AES feature toggles and extra preprocessor defines during configure.
  • Adjusts atomic-header probing and AES-CCM configure logic to account for wolfzfs builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread configure.ac
if test "x$ENABLED_WOLFZFS" = "xyes" || test "x$ENABLED_WOLFZFS" = "xkernel"
then
# zfs uses ccm, and gcm streaming.
ENABLED_AESCCM="yes"
Comment thread configure.ac
# zfs uses ccm, and gcm streaming.
ENABLED_AESCCM="yes"
ENABLED_AESGCM_STREAM="yes"
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_NO_FENCE"
Comment thread configure.ac

# wolfzfs support
AC_ARG_ENABLE([wolfzfs],
[AS_HELP_STRING([--enable-wolfzfs],[Enable wolfZFS kernel support (default: disabled)])],
Comment thread configure.ac
Comment on lines +3226 to +3227
if test "$ENABLED_AESCCM" = "yes" || test "$ENABLED_WOLFENGINE" = "yes" ||
test "$ENABLED_WOLFZFS" = "yes"
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

MemBrowse Memory Report

No memory changes detected for:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants