ra4_crypto_hash.c
Go to the documentation of this file.
General definitions for cryptographic algorithms.
Debugging facilities.
Collection of hash algorithms.
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
RA4 hardware cryptographic accelerator (SCE5 / SCE9)
void sha224Init(Sha224Context *context)
Initialize SHA-224 message digest context.
Definition: ra4_crypto_hash.c:62
void sha256FinalRaw(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest (no padding added)
Definition: ra4_crypto_hash.c:223
void sha256Update(Sha256Context *context, const void *data, size_t length)
Update the SHA-256 context with a portion of the message being hashed.
Definition: ra4_crypto_hash.c:114
void sha256ProcessBlock(Sha256Context *context)
Process message in 16-word blocks.
Definition: ra4_crypto_hash.c:235
void sha256Final(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest.
Definition: ra4_crypto_hash.c:181
void sha256Init(Sha256Context *context)
Initialize SHA-256 message digest context.
Definition: ra4_crypto_hash.c:88
RA4 hash hardware accelerator.