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