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

Memory usage improvements #7901

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Memory usage improvements #7901

merged 1 commit into from
Sep 4, 2024

Conversation

SparkiDev
Copy link
Contributor

Description

kdf.c: wc_PRF() - No need for previous, reuse current.
sha256.c: Transform_Sha256() - Add slow but small version for many register implementation.
sp_int.h: Change 'used' and 'size' fields to 16-bit types when possible.
sp_int.c: Fixes for 16-bit used.

Testing

Memusage testing

Checklist

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

@SparkiDev SparkiDev self-assigned this Aug 26, 2024
@SparkiDev SparkiDev force-pushed the memusage_8 branch 5 times, most recently from cbaacf0 to 09412a9 Compare August 26, 2024 07:28
@SparkiDev SparkiDev assigned wolfSSL-Bot and unassigned SparkiDev Aug 26, 2024
Copy link
Contributor

@douzzer douzzer left a comment

Choose a reason for hiding this comment

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

looks OK on cursory read-through, but it provokes a slew of -Wconversions (see attached)
SparkiDev-memusage_8-09412a9321-allcryptonly-Wconversion-intelasm-build.html.gz

kdf.c: wc_PRF() - No need for previous, reuse current.
sha256.c: Transform_Sha256() - Add slow but small version for many
register implementation.
sp_int.h: Change 'used' and 'size' fields to 16-bit types when possible.
sp_int.c: Fixes for 16-bit used.
@douzzer douzzer merged commit c9ff15d into wolfSSL:master Sep 4, 2024
129 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.

4 participants