Update comments regarding the zeroize program

This commit updates comments regarding the moved zeroize files.

Signed-off-by: Harry Ramsey <[email protected]>
This commit is contained in:
Harry Ramsey
2025-02-19 15:20:04 +00:00
parent 18c5767d1d
commit 483262b2a2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
# #
# Run a test using the debugger to check that the mbedtls_platform_zeroize() # Run a test using the debugger to check that the mbedtls_platform_zeroize()
# function in platform_util.h is not being optimized out by the compiler. To do # function in platform_util.h is not being optimized out by the compiler. To do
# so, the script loads the test program at programs/test/zeroize.c and sets a # so, the script loads the test program at programs/test/zeroize and sets a
# breakpoint at the last return statement in main(). When the breakpoint is # breakpoint at the last return statement in main(). When the breakpoint is
# hit, the debugger manually checks the contents to be zeroized and checks that # hit, the debugger manually checks the contents to be zeroized and checks that
# it is actually cleared. # it is actually cleared.
+1 -1
View File
@@ -4,7 +4,7 @@
* This is a simple test application used for debugger-driven testing to check * This is a simple test application used for debugger-driven testing to check
* whether calls to mbedtls_platform_zeroize() are being eliminated by compiler * whether calls to mbedtls_platform_zeroize() are being eliminated by compiler
* optimizations. This application is used by the GDB script at * optimizations. This application is used by the GDB script at
* tests/scripts/test_zeroize.gdb: the script sets a breakpoint at the last * tests/programs/test_zeroize.gdb: the script sets a breakpoint at the last
* return statement in the main() function of this program. The debugger * return statement in the main() function of this program. The debugger
* facilities are then used to manually inspect the memory and verify that the * facilities are then used to manually inspect the memory and verify that the
* call to mbedtls_platform_zeroize() was not eliminated. * call to mbedtls_platform_zeroize() was not eliminated.