pic32mz_crypto_hash.c
volatile Pic32mzCryptoBufferDesc hashBufferDesc __attribute__((coherent, aligned(8)))
error_t sha256Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-256.
Definition: pic32mz_crypto_hash.c:249
PIC32MZ hardware cryptographic accelerator.
General definitions for cryptographic algorithms.
error_t md5Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using MD5.
Definition: pic32mz_crypto_hash.c:187
error_t sha1Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-1.
Definition: pic32mz_crypto_hash.c:218
Collection of hash algorithms.
void hashProcessData(uint32_t algo, const uint8_t *data, size_t length)
Digest a message using the specified hash algorithm.
Definition: pic32mz_crypto_hash.c:94
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
PIC32MZ hash hardware accelerator.
Debugging facilities.