mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-21 03:52:04 +00:00
test_check: Document UNMARK_SECRET_DATA further
This commit is contained in:
parent
9da2e2440a
commit
5f7d34a506
@ -61,7 +61,7 @@
|
||||
|
||||
/* Call after secret data is written, before first use */
|
||||
#define MARK_SECRET_DATA(addr, len) VALGRIND_MAKE_MEM_UNDEFINED(addr, len)
|
||||
/* Call before secret data is freed */
|
||||
/* Call before secret data is freed or to mark non-secret data (public keys or signatures) */
|
||||
#define UNMARK_SECRET_DATA(addr, len) VALGRIND_MAKE_MEM_DEFINED (addr, len)
|
||||
|
||||
#define FROMHEX_MAXLEN 256
|
||||
|
Loading…
Reference in New Issue
Block a user