crypto/random_pool: fix typo in debug print, change 'crypinfo' to 'cryptinfo'
This commit is contained in:
parent
b5b148fef8
commit
5e8ed2dd4e
@ -367,7 +367,7 @@ static void rng_buf_internal(FAR void *bytes, size_t nbytes)
|
|||||||
|
|
||||||
static void rng_init(void)
|
static void rng_init(void)
|
||||||
{
|
{
|
||||||
crypinfo("Initializing RNG\n");
|
cryptinfo("Initializing RNG\n");
|
||||||
|
|
||||||
memset(&g_rng, 0, sizeof(struct rng_s));
|
memset(&g_rng, 0, sizeof(struct rng_s));
|
||||||
sem_init(&g_rng.rd_sem, 0, 1);
|
sem_init(&g_rng.rd_sem, 0, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user