Skip to content

MemZero: Add more checks of buffers.#10988

Open
SparkiDev wants to merge 1 commit into
wolfSSL:masterfrom
SparkiDev:mem_zero_fixes_1
Open

MemZero: Add more checks of buffers.#10988
SparkiDev wants to merge 1 commit into
wolfSSL:masterfrom
SparkiDev:mem_zero_fixes_1

Conversation

@SparkiDev

Copy link
Copy Markdown
Contributor

Description

Added wc_MemZero_Add calls and wc_MemZero_Check calls wheter ForceZero is used.
Fixed a couple of places that had the wrong size.

Testing

Build with as many features as possible with WOLFSSL_CHECK_MEM_ZERO.

@SparkiDev SparkiDev self-assigned this Jul 24, 2026
@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown

MemBrowse Memory Report

gcc-arm-cortex-m4-dtls13

  • FLASH: .text -64 B (-0.0%, 181,028 B / 1,048,576 B, total: 17% used)

gcc-arm-cortex-m4-pq

  • FLASH: .text -64 B (-0.0%, 279,936 B / 1,048,576 B, total: 27% used)

gcc-arm-cortex-m4-rsa-only

  • FLASH: .text -64 B (-0.0%, 326,104 B / 1,048,576 B, total: 31% used)

gcc-arm-cortex-m4-tls13

  • FLASH: .text -64 B (-0.0%, 236,615 B / 262,144 B, total: 90% used)

gcc-arm-cortex-m7-pq

  • FLASH: .text -64 B (-0.0%, 280,512 B / 1,048,576 B, total: 27% used)

gcc-arm-cortex-m7-tls13

Added wc_MemZero_Add calls and wc_MemZero_Check calls wheter ForceZero is used.
Fixed a couple of places that had the wrong size.
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.

1 participant