clear random data after free

This commit is contained in:
NIIBE Yutaka
2012-06-15 13:26:27 +09:00
parent 2d5246e7fa
commit abd64bc495
2 changed files with 3 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ random_bytes_get (void)
void
random_bytes_free (const uint8_t *p)
{
(void)p;
memset (p, 0, RANDOM_BYTES_LENGTH);
neug_flush ();
}