Skip to content

LMS: Cast constants before shifting left#9310

Merged
dgarske merged 1 commit intowolfSSL:masterfrom
SparkiDev:lms_cast_16bit
Oct 16, 2025
Merged

LMS: Cast constants before shifting left#9310
dgarske merged 1 commit intowolfSSL:masterfrom
SparkiDev:lms_cast_16bit

Conversation

@SparkiDev
Copy link
Copy Markdown
Contributor

Description

Compiling for 16-bit results in some constants type being too small for shift amount without cast.

Fixes #9304

Testing

Tested with LMS.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Compiling for 16-bit results in some constants type being too small for
shift amount without cast.
@SparkiDev
Copy link
Copy Markdown
Contributor Author

retest this please

. /host/pkgs/sdk-arm_24.60372.0/environment-setup-cortexa8hf-neon-poky-linux-gnueabi
Running configure script...
configure: error: unrecognized options: --with-libtool-sysroot
CONFIG RESULT = 1
Configuration Failed
�[1;31mError: OE2: without PAA test failed�[0m

@dgarske dgarske merged commit 0727bae into wolfSSL:master Oct 16, 2025
259 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.

[Bug]: LMS verify fails for heights 15, 20, and 25 when using a 16-bit device

2 participants