20251202-linuxkm-old-kernel-fixes#9490
Merged
dgarske merged 5 commits intowolfSSL:masterfrom Dec 4, 2025
Merged
Conversation
sameehj
reviewed
Dec 4, 2025
Contributor
|
Left you a minor comment, other than that all looks good +1 |
* add backported definition of static_assert(); * add version-gated include for asm-generic/simd.h; * add version gate for crypto/internal/simd.h.
…crypt/logging.h to linuxkm/linuxkm_wc_port.h.
…ndomness in batches that fit in RNG_MAX_BLOCK_LEN.
… including kernel headers.
329849c to
01a2d7e
Compare
…AKID to wolfSSL_GetCAByAKID from wolfssl/internal.h to wolfssl/wolfcrypt/asn.h, with an additional needed early mapping in linuxkm/linuxkm_wc_port.h.
01a2d7e to
e225bf8
Compare
sameehj
approved these changes
Dec 4, 2025
dgarske
approved these changes
Dec 4, 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_sha_glue.c: inwc_linuxkm_drbg_generate(), generate randomness in batches that fit inRNG_MAX_BLOCK_LEN. Fixes a potentially destabilizing bug discovered during WolfGuard exercises on kernel 6.12 with /dev/random patches applied.move
WOLFSSL_API_PREFIX_MAPping ofGetCAByAKIDtowolfSSL_GetCAByAKIDfromwolfssl/internal.htowolfssl/wolfcrypt/asn.h, with an additional needed early mapping inlinuxkm/linuxkm_wc_port.h. (fixes linuxkm TLS layer builds, broken by #9489.)linuxkm/linuxkm_wc_port.h:* add backported definition of
static_assert();* add version-gated include for
asm-generic/simd.h;* add version gate for
crypto/internal/simd.h.linuxkm: move definition of
WOLFSSL_DEBUG_PRINTF_FNfromwolfssl/wolfcrypt/logging.htolinuxkm/linuxkm_wc_port.h. Fixes--enable-debug-trace-errcodeson kernels >= 5.15.linuxkm/linuxkm_wc_port.h: add-Wattributesto suppression list while including kernel headers.tested with