Skip to content

20260710-linuxkm-fixes#10881

Open
douzzer wants to merge 4 commits into
wolfSSL:masterfrom
douzzer:20260710-linuxkm-fixes
Open

20260710-linuxkm-fixes#10881
douzzer wants to merge 4 commits into
wolfSSL:masterfrom
douzzer:20260710-linuxkm-fixes

Conversation

@douzzer

@douzzer douzzer commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

linuxkm/Makefile: move --no-silent kludge into $(NO_SILENT), off by default (apparently unneeded with make 4.4.1 and current Makefile/Kbuild).

linuxkm/lkcapi_aes_glue.c: in non-streaming AesGcmCrypt_1(), use wc_AesGcmSetExtIV() and wc_AesGcmEncrypt_ex(), not wc_AesGcmEncrypt(), to stay inside FIPS boundary.

tests/api.c: fix test_wc_CryptoCb_registry() for new ALREADY_E from attempted re-registration of callback.

wolfcrypt/src/port/af_alg/afalg_aes.c, wolfcrypt/src/port/kcapi/kcapi_aes.c, tests/api/test_aes.c: fixes for AF_ALG and KCAPI ports.

(fixes longstanding bug in afalg_aes.c that made no-AAD handles non-interchangeable with AAD handles. also adds missing arg validation and KEYUSAGE_E checks throughout AF_ALG.)

detected by and tested with

wolfssl-mult-test.sh ...
'.*cust-kernel.*'
all-crypto-openssl-extra-coexist-TEST_OPENSSL_COEXIST
all-crypto-openssl-extra-coexist-smallstack-TEST_OPENSSL_COEXIST
all-afalg
defaults-afalg
fips-140-3-dev-kcapi
check-source-text

douzzer added 4 commits July 10, 2026 17:24
…efault (apparently unneeded with make 4.4.1 and current Makefile/Kbuild).
…esGcmSetExtIV() and wc_AesGcmEncrypt_ex(), not wc_AesGcmEncrypt(), to stay inside FIPS boundary.
…_aes.c, tests/api/test_aes.c: fixes for AF_ALG and KCAPI ports.

fixes longstanding bug in afalg_aes.c that made no-AAD handles non-interchangeable with AAD handles.  also adds missing arg validation and KEYUSAGE_E checks throughout AF_ALG.

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fenrir Automated Review — PR #10881

Scan targets checked: linuxkm-bugs, linuxkm-src, wolfcrypt-port-bugs, wolfssl-bugs, wolfssl-src

No new issues found in the changed files. ✅

@douzzer

douzzer commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

retest this please
(2 aborted tests)

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.

3 participants