Skip to content

20260317-wc_linuxkm_rng_is_wolfcrypt#9998

Merged
JacobBarthelmeh merged 2 commits intowolfSSL:masterfrom
douzzer:20260317-wc_linuxkm_rng_is_wolfcrypt
Mar 18, 2026
Merged

20260317-wc_linuxkm_rng_is_wolfcrypt#9998
JacobBarthelmeh merged 2 commits intowolfSSL:masterfrom
douzzer:20260317-wc_linuxkm_rng_is_wolfcrypt

Conversation

@douzzer
Copy link
Contributor

@douzzer douzzer commented Mar 17, 2026

linuxkm/lkcapi_sha_glue.c and linuxkm/linuxkm_wc_port.h: add wc_linux_kernel_rng_is_wolfcrypt(), and remove incorrect crypto_put_default_rng() in get_crypto_default_rng().

wolfcrypt/src/rng_bank.c and wolfssl/wolfcrypt/rng_bank.h: add !WC_NO_CONSTRUCTORS gate around wc_rng_new_bankref().

tested with

TEST_WOLFGUARD=1 WOLFGUARD_BRANCH=local:20260316-various-backports wolfssl-multi-test.sh ...
check-source-text
quantum-safe-wolfssl-all-crypto-only-intelasm-sp-asm-linuxkm-mainline-insmod

(the 20260316-various-backports branch has the refactor to use libwolfssl rng_bank and call wc_linux_kernel_rng_is_wolfcrypt().)

douzzer added 2 commits March 17, 2026 17:44
…_kernel_rng_is_wolfcrypt(), and remove incorrect crypto_put_default_rng() in get_crypto_default_rng().
…_CONSTRUCTORS gate around wc_rng_new_bankref().
@douzzer douzzer requested a review from JacobBarthelmeh March 17, 2026 22:49
@douzzer douzzer added the For This Release Release version 5.9.0 label Mar 17, 2026
@douzzer
Copy link
Contributor Author

douzzer commented Mar 17, 2026

retest this please

in my Fips callback, ok = 0, err = -255
message = wolfcrypt FIPS ECDSA Pairwise Agreement Test Failure

(jenkins/job/wolfSSL/job/PRB-FIPS-windows-test-ACVP/8351/pipeline-overview/)

@JacobBarthelmeh JacobBarthelmeh merged commit e309236 into wolfSSL:master Mar 18, 2026
478 of 479 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants