s32k1_crypto_cipher.c
Go to the documentation of this file.
Collection of AEAD algorithms.
General definitions for cryptographic algorithms.
Debugging facilities.
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_chibios.c:388
void osReleaseMutex(OsMutex *mutex)
Release ownership of the specified mutex object.
Definition: os_port_chibios.c:400
S32K1 hardware cryptographic accelerator (CSEq)
uint32_t aesProcessData(uint32_t command, size_t offset, const uint8_t *input, uint8_t *output, size_t length)
Perform AES encryption or decryption.
Definition: s32k1_crypto_cipher.c:92
error_t cbcEncrypt(const CipherAlgo *cipher, void *context, uint8_t *iv, const uint8_t *p, uint8_t *c, size_t length)
CBC encryption.
Definition: s32k1_crypto_cipher.c:367
error_t cbcDecrypt(const CipherAlgo *cipher, void *context, uint8_t *iv, const uint8_t *c, uint8_t *p, size_t length)
CBC decryption.
Definition: s32k1_crypto_cipher.c:519
error_t ecbEncrypt(const CipherAlgo *cipher, void *context, const uint8_t *p, uint8_t *c, size_t length)
ECB encryption.
Definition: s32k1_crypto_cipher.c:160
error_t ecbDecrypt(const CipherAlgo *cipher, void *context, const uint8_t *c, uint8_t *p, size_t length)
ECB decryption.
Definition: s32k1_crypto_cipher.c:262
S32K1 cipher hardware accelerator.