mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
crypto/random_pool.c: Correct indexing on void pointer
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
committed by
Xiang Xiao
parent
4e038c1724
commit
cdb1b00f34
@@ -323,7 +323,7 @@ static void rng_reseed(void)
|
||||
g_rng.output_initialized = true;
|
||||
}
|
||||
|
||||
static void rng_buf_internal(FAR void *bytes, size_t nbytes)
|
||||
static void rng_buf_internal(FAR uint8_t *bytes, size_t nbytes)
|
||||
{
|
||||
if (!g_rng.output_initialized)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user