Commit dfb02f40 authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Benjamin Cabé
Browse files

drivers: entropy: nRF CRACEN: Fix comment



Correct the comment that tells how long it takes to get
random numbers. The old comment was too optimistic.

Signed-off-by: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent b58671fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ static int nrf_cracen_get_entropy_isr(const struct device *dev, uint8_t *buf, ui

	unsigned int key = irq_lock();

	/* This will be done in less than 1 microsecond */
	/* This will take approximately 2 + (ceil(len/16) + 3)*3 us. i.e. 14us for 16 bytes */
	int ret = nrfx_cracen_ctr_drbg_random_get(buf, len);

	irq_unlock(key);