Go to the documentation of this file.
32 #define TRACE_LEVEL CRYPTO_TRACE_LEVEL
67 #if (SAMA5D2_CRYPTO_TRNG_SUPPORT == ENABLED)
76 #if (SAMA5D2_CRYPTO_HASH_SUPPORT == ENABLED)
81 PMC->PMC_PCER0 = (1U << ID_SHA);
85 #if (SAMA5D2_CRYPTO_CIPHER_SUPPORT == ENABLED)
90 PMC->PMC_PCER0 = (1U << ID_AES) | (1U << ID_TDES);
bool_t osCreateMutex(OsMutex *mutex)
Create a mutex object.
OsMutex sama5d2CryptoMutex
SAMA5D2 cipher hardware accelerator.
SAMA5D2 true random number generator.
error_t trngInit(void)
TRNG module initialization.
General definitions for cryptographic algorithms.
SAMA5D2 hash hardware accelerator.
SAMA5D2 hardware cryptographic accelerator.
error_t sama5d2CryptoInit(void)
Initialize hardware cryptographic accelerator.