mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-04 13:52:35 +00:00

Note that I preferred to change the multiple returns to multiple checks of a boolean to concentrate the erase into the last part of the functions.
9 lines
111 B
C
9 lines
111 B
C
|
|
#if !defined( _MACRO_UTILS_H )
|
|
#define _MACRO_UTILS_H
|
|
|
|
#define MEMSET_BZERO(p,l) memset((p), 0, (l))
|
|
|
|
|
|
#endif
|