sams70_crypto_hash.c
void sha224Init(Sha224Context *context)
Initialize SHA-224 message digest context.
Definition: sams70_crypto_hash.c:332
void sha1Init(Sha1Context *context)
Initialize SHA-1 message digest context.
Definition: sams70_crypto_hash.c:193
SAMS70 hash hardware accelerator.
void sha256Final(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest.
Definition: sams70_crypto_hash.c:444
void sha1FinalRaw(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest (no padding added)
Definition: sams70_crypto_hash.c:318
General definitions for cryptographic algorithms.
void sha256Init(Sha256Context *context)
Initialize SHA-256 message digest context.
Definition: sams70_crypto_hash.c:358
Collection of hash algorithms.
void sha256FinalRaw(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest (no padding added)
Definition: sams70_crypto_hash.c:486
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 sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: sams70_crypto_hash.c:216
void sha1Final(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest.
Definition: sams70_crypto_hash.c:276
void sha256Update(Sha256Context *context, const void *data, size_t length)
Update the SHA-256 context with a portion of the message being hashed.
Definition: sams70_crypto_hash.c:384
void hashProcessData(uint32_t algo, const uint8_t *data, size_t length, uint32_t *h)
Update hash value.
Definition: sams70_crypto_hash.c:94
Debugging facilities.
SAMS70 hardware cryptographic accelerator.