mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Improve docs for zeroize.c and test_zeroize.gdb
This commit is contained in:
parent
1e8ea5fa68
commit
42defd10a6
2 changed files with 36 additions and 2 deletions
|
|
@ -1,5 +1,14 @@
|
|||
/*
|
||||
* Zeroize demonstration program
|
||||
* Zeroize application for debugger-driven testing
|
||||
*
|
||||
* This is a simple test application used for debbuger-driven testing to check
|
||||
* whether calls to mbedtls_zeroize() are being eliminated by compiler
|
||||
* optimizations. This application is used by the GDB script at
|
||||
* tests/scripts/test_zeroize.gdb under the assumption that line numbers do not
|
||||
* change often (as opposed to the library code) because the script sets a
|
||||
* breakpoint at the last return statement in the main() function of this
|
||||
* program. The debugger facilities are then used to manually inspect the
|
||||
* memory and verify that the call to mbedtls_zeroize() was not eliminated.
|
||||
*
|
||||
* Copyright (C) 2017, ARM Limited, All Rights Reserved
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue