[NUC472/M487] Add comment for crypto_zeroize

pull/4925/head
ccli8 2017-12-15 10:38:57 +08:00
parent add839c808
commit e1fbf0f6a7
2 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,8 @@ extern volatile int g_AES_done;
void crypto_init(void);
void crypto_uninit(void);
/* Clear buffer to zero
* Implementation that should never be optimized out by the compiler */
void crypto_zeroize(void *v, size_t n);
/* Acquire/release ownership of AES H/W */

View File

@ -35,6 +35,8 @@ extern volatile int g_AES_done;
void crypto_init(void);
void crypto_uninit(void);
/* Clear buffer to zero
* Implementation that should never be optimized out by the compiler */
void crypto_zeroize(void *v, size_t n);
/* Acquire/release ownership of AES H/W */