Skip to content

Commit e1fbf0f

Browse files
committed
[NUC472/M487] Add comment for crypto_zeroize
1 parent add839c commit e1fbf0f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ extern volatile int g_AES_done;
3535
void crypto_init(void);
3636
void crypto_uninit(void);
3737

38+
/* Clear buffer to zero
39+
* Implementation that should never be optimized out by the compiler */
3840
void crypto_zeroize(void *v, size_t n);
3941

4042
/* Acquire/release ownership of AES H/W */

targets/TARGET_NUVOTON/TARGET_NUC472/crypto/crypto-misc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ extern volatile int g_AES_done;
3535
void crypto_init(void);
3636
void crypto_uninit(void);
3737

38+
/* Clear buffer to zero
39+
* Implementation that should never be optimized out by the compiler */
3840
void crypto_zeroize(void *v, size_t n);
3941

4042
/* Acquire/release ownership of AES H/W */

0 commit comments

Comments
 (0)