Skip to content

Commit 9374e43

Browse files
ccli8adbridge
authored andcommitted
Add comment for crypto_zeroize
1 parent c0fe23b commit 9374e43

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)