mimxrt1040_crypto_hash.c
void sha1Final(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest.
Definition: mimxrt1040_crypto_hash.c:211
i.MX RT1040 hash hardware accelerator
void sha1Init(Sha1Context *context)
Initialize SHA-1 message digest context.
Definition: mimxrt1040_crypto_hash.c:138
General definitions for cryptographic algorithms.
void sha256Init(Sha256Context *context)
Initialize SHA-256 message digest context.
Definition: mimxrt1040_crypto_hash.c:303
void sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: mimxrt1040_crypto_hash.c:170
Collection of hash algorithms.
error_t sha1Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-1.
Definition: mimxrt1040_crypto_hash.c:82
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
error_t sha256Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-256.
Definition: mimxrt1040_crypto_hash.c:247
void sha256Update(Sha256Context *context, const void *data, size_t length)
Update the SHA-256 context with a portion of the message being hashed.
Definition: mimxrt1040_crypto_hash.c:335
void sha256Final(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest.
Definition: mimxrt1040_crypto_hash.c:376
i.MX RT1040 hardware cryptographic accelerator (DCP)
Debugging facilities.