20250514-linuxkm-and-sp-tweaks#8773
Merged
dgarske merged 4 commits intowolfSSL:masterfrom May 15, 2025
Merged
Conversation
…H secrets have a different format before that version, and FFDHE (CONFIG_CRYPTO_DH_RFC7919_GROUPS) was introduced in 5.18 and is the only FIPS-allowed DH variant.
…_DYN_STACK macro to orthogonalize gnarly setup logic, and refactor to use it throughout; refactor several more sp_int stack-allocated data buffers as sp_int_digit[]s rather than char[]s.
…ic literal, and use them for XALIGNED() for Windows portability.
SparkiDev
previously approved these changes
May 14, 2025
Contributor
Author
|
retest this please ( |
…_SP_DYN_STACK, to follow sp_int.h include.
Contributor
Author
|
retest this please |
dgarske
approved these changes
May 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
linuxkm/lkcapi_dh_glue.c: never install DH/FFDHE on kernel <5.18 -- DH secrets have a different format before that version, and FFDHE (CONFIG_CRYPTO_DH_RFC7919_GROUPS) was introduced in 5.18 and is the only FIPS-allowed DH variant.wolfssl/wolfcrypt/sp_int.handwolfcrypt/src/sp_int.c: addWOLFSSL_SP_DYN_STACKmacro to orthogonalize gnarly setup logic, and refactor to use it throughout; refactor several moresp_intstack-allocated data buffers assp_int_digit[]s rather thanchar[]s; addXALIGNED(SP_WORD_SIZEOF)tosp_int.dp.Fixes
tested with