CC310 entropy driver

You can use the CC310 entropy driver (entropy_cc310) to generate random data using the Arm CryptoCell CC310 hardware. This hardware is available on the nRF52840 and nRF9160 devices.

When used on nRF52840, the entropy_cc310 driver gathers entropy by using the CC310 hardware through the nrf_cc310_platform library.

When used on nRF9160, the driver behavior depends on whether it is used in a secure or non-secure application:

API documentation

Header file: <NCS>/zephyr/include/drivers/entropy.h
Source file: drivers/entropy_cc310/entropy_cc310.c

The entropy_cc310 driver implements the Zephyr Entropy API.