Go to the documentation of this file.
32 #define TRACE_LEVEL CRYPTO_TRACE_LEVEL
68 #if (SAMD51_CRYPTO_TRNG_SUPPORT == ENABLED)
77 #if (SAMD51_CRYPTO_HASH_SUPPORT == ENABLED)
82 MCLK_REGS->MCLK_APBCMASK |= MCLK_APBCMASK_ICM_Msk;
83 MCLK_REGS->MCLK_AHBMASK |= MCLK_AHBMASK_ICM_Msk;
87 #if (SAMD51_CRYPTO_CIPHER_SUPPORT == ENABLED)
92 MCLK_REGS->MCLK_APBCMASK |= MCLK_APBCMASK_AES_Msk;
96 #if (SAMD51_CRYPTO_PKC_SUPPORT == ENABLED)
error_t samd51CryptoInit(void)
Initialize hardware cryptographic accelerator.
bool_t osCreateMutex(OsMutex *mutex)
Create a mutex object.
SAMD51 cipher hardware accelerator.
SAMD51 public-key hardware accelerator (PUKCC)
SAMD51 true random number generator.
SAMD51 hash hardware accelerator.
error_t pukccInit(void)
Initialize PUKCC module.
error_t trngInit(void)
TRNG module initialization.
OsMutex samd51CryptoMutex
General definitions for cryptographic algorithms.
SAMD51 hardware cryptographic accelerator.