pic32cm_ls_crypto_cipher.c
Collection of AEAD algorithms.
void aesDecryptBlock(AesContext *context, const uint8_t *input, uint8_t *output)
Decrypt a 16-byte block using AES algorithm.
Definition: pic32cm_ls_crypto_cipher.c:146
void aesEncryptBlock(AesContext *context, const uint8_t *input, uint8_t *output)
Encrypt a 16-byte block using AES algorithm.
Definition: pic32cm_ls_crypto_cipher.c:98
PIC32CM LS00/LS60 cipher hardware accelerator.
error_t gcmInit(GcmContext *context, const CipherAlgo *cipherAlgo, void *cipherContext)
Initialize GCM context.
Definition: pic32cm_ls_crypto_cipher.c:197
error_t aesInit(AesContext *context, const uint8_t *key, size_t keyLen)
Key expansion.
Definition: pic32cm_ls_crypto_cipher.c:55
void gcmMul(GcmContext *context, uint8_t *x)
Multiplication operation in GF(2^128)
Definition: pic32cm_ls_crypto_cipher.c:236
General definitions for cryptographic algorithms.
PIC32CM LS00/LS60 hardware cryptographic accelerator.
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_chibios.c:396
void osReleaseMutex(OsMutex *mutex)
Release ownership of the specified mutex object.
Definition: os_port_chibios.c:408
Debugging facilities.