Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20250129-CT-tweaks #8396

Merged
merged 2 commits into from
Jan 30, 2025
Merged

20250129-CT-tweaks #8396

merged 2 commits into from
Jan 30, 2025

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented Jan 30, 2025

CT tweaks:

in wolfcrypt/src/coding.c, add ALIGN64 to hexDecode[], and add hexEncode[] for use by Base16_Encode();

in wolfcrypt/src/misc.c and wolfssl/wolfcrypt/misc.h:

move ctMask*() up so that min() and max() can use them, and add ctMaskWord32GTE();

add ALIGN64 to kHexChar[];

add CT implementation of CharIsWhiteSpace();

remove min_size_t() and max_size_t() recently added, but only one user (refactored).

see ZD#19291

also: fixes for gating/tooling around ASCON.

tested with wolfssl-multi-test.sh ... super-quick-check all-gcc-c99

in wolfcrypt/src/coding.c, add ALIGN64 to hexDecode[], and add hexEncode[] for use by Base16_Encode();

in wolfcrypt/src/misc.c and wolfssl/wolfcrypt/misc.h:

move ctMask*() up so that min() and max() can use them, and add ctMaskWord32GTE();

add ALIGN64 to kHexChar[];

add CT implementation of CharIsWhiteSpace();

remove min_size_t() and max_size_t() recently added, but only one user (refactored).
@douzzer
Copy link
Contributor Author

douzzer commented Jan 30, 2025

retest this please (openssl test failure on "Clang --enable-all check")

@SparkiDev SparkiDev merged commit 3f47963 into wolfSSL:master Jan 30, 2025
164 checks passed
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