ra4_crypto_hash.c
void sha256Init(Sha256Context *context)
Initialize SHA-256 message digest context.
Definition: ra4_crypto_hash.c:88
void sha256FinalRaw(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest (no padding added)
Definition: ra4_crypto_hash.c:223
void sha224Init(Sha224Context *context)
Initialize SHA-224 message digest context.
Definition: ra4_crypto_hash.c:62
General definitions for cryptographic algorithms.
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
Collection of hash algorithms.
RA4 hash hardware accelerator.
RA4 hardware cryptographic accelerator (SCE5 / SCE9)
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
void sha256ProcessBlock(Sha256Context *context)
Process message in 16-word blocks.
Definition: ra4_crypto_hash.c:235
Debugging facilities.
void sha256Final(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest.
Definition: ra4_crypto_hash.c:181