Skip to content

20230509-THIS_MODULE-mem-and-more-Wconversion#6394

Merged
dgarske merged 2 commits intowolfSSL:masterfrom
douzzer:20230509-THIS_MODULE-mem-and-more-Wconversion
May 10, 2023
Merged

20230509-THIS_MODULE-mem-and-more-Wconversion#6394
dgarske merged 2 commits intowolfSSL:masterfrom
douzzer:20230509-THIS_MODULE-mem-and-more-Wconversion

Conversation

@douzzer
Copy link
Copy Markdown
Contributor

@douzzer douzzer commented May 10, 2023

linuxkm: add coverage for Linux 6.4+ module memory layout refactor; also, refactor WOLFSSL_LINUXKM_USE_SAVE_VECTOR_REGISTERS to make it settable independent of WOLFSSL_AESNI etc.

fixes for various wolfcrypt -Wconversions visible only on compilers that promote byte and word16 to signed int, then warn of a sign conflict when an intrinsically safe result is assigned back to the original type.

tested with wolfssl-mult-test.sh ... super-quick-check '.*-Wconversion.*'

douzzer added 2 commits May 9, 2023 23:53
…lso, refactor WOLFSSL_LINUXKM_USE_SAVE_VECTOR_REGISTERS to make it settable independent of WOLFSSL_AESNI etc.
…hat promote byte and word16 to signed int, then warn of a sign conflict when an intrinsically safe result is assigned back to the original type.
@douzzer douzzer self-assigned this May 10, 2023
@douzzer douzzer requested a review from dgarske May 10, 2023 15:51
@douzzer douzzer assigned dgarske and unassigned douzzer May 10, 2023
@dgarske dgarske merged commit 870f7cc into wolfSSL:master May 10, 2023
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