mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-17 15:49:54 +00:00
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:
@@ -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.
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user