Go to the documentation of this file.
32 #define TRACE_LEVEL CRYPTO_TRACE_LEVEL
66 #if (SAM4L_CRYPTO_TRNG_SUPPORT == ENABLED)
75 #if (SAM4L_CRYPTO_CIPHER_SUPPORT == ENABLED)
80 PM->PM_UNLOCK = PM_UNLOCK_KEY(0xAAU) |
81 PM_UNLOCK_ADDR((uint32_t) &PM->PM_HSBMASK - (uint32_t) PM);
84 PM->PM_HSBMASK |= PM_HSBMASK_AESA;
bool_t osCreateMutex(OsMutex *mutex)
Create a mutex object.
SAM4L hardware cryptographic accelerator.
error_t trngInit(void)
TRNG module initialization.
General definitions for cryptographic algorithms.
SAM4L cipher hardware accelerator.
SAM4L true random number generator.
error_t sam4lCryptoInit(void)
Initialize hardware cryptographic accelerator.