Go to the documentation of this file.
32 #define TRACE_LEVEL CRYPTO_TRACE_LEVEL
68 #if (PIC32CX_SG_CRYPTO_TRNG_SUPPORT == ENABLED)
77 #if (PIC32CX_SG_CRYPTO_HASH_SUPPORT == ENABLED)
82 MCLK_REGS->MCLK_APBCMASK |= MCLK_APBCMASK_ICM_Msk;
83 MCLK_REGS->MCLK_AHBMASK |= MCLK_AHBMASK_ICM_Msk;
87 #if (PIC32CX_SG_CRYPTO_CIPHER_SUPPORT == ENABLED)
92 MCLK_REGS->MCLK_APBCMASK |= MCLK_APBCMASK_AES_Msk;
96 #if (PIC32CX_SG_CRYPTO_PKC_SUPPORT == ENABLED)
PIC32CX SG41/SG60/SG61 cipher hardware accelerator.
bool_t osCreateMutex(OsMutex *mutex)
Create a mutex object.
error_t pukccInit(void)
Initialize PUKCC module.
PIC32CX SG41/SG60/SG61 hash hardware accelerator.
error_t trngInit(void)
TRNG module initialization.
PIC32CX SG41/SG60/SG61 public-key hardware accelerator (PUKCC)
General definitions for cryptographic algorithms.
PIC32CX SG41/SG60/SG61 true random number generator.
PIC32CX SG41/SG60/SG61 hardware cryptographic accelerator.
error_t pic32cxsgCryptoInit(void)
Initialize hardware cryptographic accelerator.
OsMutex pic32cxsgCryptoMutex