mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 19:45:40 +01:00
mbedtls_zeroize -> mbedtls_platform_zeroize in docs
This commit is contained in:
parent
d0ef468d39
commit
708c5cb6ab
@ -909,7 +909,7 @@ rm -rf "$OUT_OF_SOURCE_DIR"
|
||||
|
||||
for optimization_flag in -O2 -O3 -Ofast -Os; do
|
||||
for compiler in clang gcc; do
|
||||
msg "test: $compiler $optimization_flag, mbedtls_zeroize()"
|
||||
msg "test: $compiler $optimization_flag, mbedtls_platform_zeroize()"
|
||||
cleanup
|
||||
CC="$compiler" DEBUG=1 CFLAGS="$optimization_flag" make programs
|
||||
gdb -x tests/scripts/test_zeroize.gdb -nw -batch -nx
|
||||
|
@ -25,10 +25,10 @@
|
||||
# intelligent compiler could determine that this function clears a block of
|
||||
# memory that is not accessed later in the program, so removing the call to
|
||||
# mbedtls_platform_zeroize() does not have an observable behavior. However,
|
||||
# inserting a test after a call to mbedtls_zeroize() to check whether the block
|
||||
# of memory was correctly zeroed would force the compiler to not eliminate the
|
||||
# mbedtls_platform_zeroize() call. If this does not occur, then the compiler
|
||||
# potentially has a bug.
|
||||
# inserting a test after a call to mbedtls_platform_zeroize() to check whether
|
||||
# the block of memory was correctly zeroed would force the compiler to not
|
||||
# eliminate the mbedtls_platform_zeroize() call. If this does not occur, then
|
||||
# the compiler potentially has a bug.
|
||||
#
|
||||
# Note: This test requires that the test program is compiled with -g3.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user