19#ifndef CRYPTOCELL_310_UTIL_H
20#define CRYPTOCELL_310_UTIL_H
50 return ((
int)data >= CPU_RAM_BASE && (
int)data < CPU_RAM_BASE +
CPU_RAM_SIZE);
void cryptocell_310_enable(void)
Enable CryptoCell module and IRQs.
void cryptocell_310_disable(void)
Disable CryptoCell module and IRQs.
void driver_cryptocell_310_setup(void)
Enables CryptoCell module, IRQs and crypto libraries on nrf52840.
static bool cryptocell_310_data_within_ram(const uint8_t *data)
Check whether the given data resides in RAM.
void driver_cryptocell_310_terminate(void)
Finishes the use of the CryptoCell library.
#define CPU_RAM_SIZE
Size of the RAM in Bytes.