Skip to content

Misc kbkdf fixes#395

Merged
ColtonWilley merged 2 commits into
wolfSSL:masterfrom
padelsbach:kbkdf-fixes
Jun 5, 2026
Merged

Misc kbkdf fixes#395
ColtonWilley merged 2 commits into
wolfSSL:masterfrom
padelsbach:kbkdf-fixes

Conversation

@padelsbach
Copy link
Copy Markdown
Contributor

  1. F-3164: Increase buffer size to avoid a stack overflow possibility in wp_kbkdf_init_hmac.
  2. F-2788: In wp_kdf_kbkdf_set_ctx_params, allow for explicitly set OSSL_KDF_PARAM_MODE field set to "COUNTER". Prior to the fix, we support it if default/unspecified, but would not honor it when set specifically.

Added test cases for both.

@padelsbach
Copy link
Copy Markdown
Contributor Author

jenkins retest this please

1 similar comment
@padelsbach
Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@padelsbach padelsbach marked this pull request as ready for review May 4, 2026 22:23
@ColtonWilley ColtonWilley self-requested a review June 5, 2026 16:54
@ColtonWilley ColtonWilley merged commit 413bb69 into wolfSSL:master Jun 5, 2026
371 of 372 checks passed
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