sam4c_crypto_hash.c
void sha256Final(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest.
Definition: sam4c_crypto_hash.c:416
void sha224Init(Sha224Context *context)
Initialize SHA-224 message digest context.
Definition: sam4c_crypto_hash.c:304
void sha1FinalRaw(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest (no padding added)
Definition: sam4c_crypto_hash.c:290
void sha256Init(Sha256Context *context)
Initialize SHA-256 message digest context.
Definition: sam4c_crypto_hash.c:330
void sha256FinalRaw(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest (no padding added)
Definition: sam4c_crypto_hash.c:458
SAM4C hash hardware accelerator.
void hashProcessData(uint32_t algo, const uint8_t *data, size_t length, uint32_t *h)
Update hash value.
Definition: sam4c_crypto_hash.c:82
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: sam4c_crypto_hash.c:356
void sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: sam4c_crypto_hash.c:188
SAM4C hardware cryptographic accelerator.
Collection of hash algorithms.
void sha1Final(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest.
Definition: sam4c_crypto_hash.c:248
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 sha1Init(Sha1Context *context)
Initialize SHA-1 message digest context.
Definition: sam4c_crypto_hash.c:165
Debugging facilities.