Skip to content

SYS/ESYS/FAPI: wipe sensitive data using secure_mem_zero#3072

Draft
JuergenReppSIT wants to merge 1 commit intotpm2-software:masterfrom
JuergenReppSIT:explicit-mem-zero
Draft

SYS/ESYS/FAPI: wipe sensitive data using secure_mem_zero#3072
JuergenReppSIT wants to merge 1 commit intotpm2-software:masterfrom
JuergenReppSIT:explicit-mem-zero

Conversation

@JuergenReppSIT
Copy link
Copy Markdown
Member

Update functions handling sensitive data to use secure_mem_zero instead of regular memory clearing. This ensures that buffers containing secrets are reliably overwritten and not subject to compiler optimizations.
Addresses: #2994

@JuergenReppSIT JuergenReppSIT marked this pull request as draft April 14, 2026 07:11
@JuergenReppSIT JuergenReppSIT force-pushed the explicit-mem-zero branch 2 times, most recently from 63646bf to d5dcb82 Compare April 14, 2026 08:07
Update functions handling sensitive data to use secure_mem_zero
instead of regular memory clearing. This ensures that buffers
containing secrets are reliably overwritten and not subject to
compiler optimizations. For strings the function secure_char_zero
is used.
Addresses: tpm2-software#2994

Signed-off-by: Juergen Repp <juergen_repp@web.de>
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