mimxrt1160_crypto_hash.c
void sha1Init(Sha1Context *context)
Initialize SHA-1 message digest context.
Definition: mimxrt1160_crypto_hash.c:105
error_t sha1Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-1.
Definition: mimxrt1160_crypto_hash.c:60
error_t sha256Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-256.
Definition: mimxrt1160_crypto_hash.c:326
void sha512Update(Sha512Context *context, const void *data, size_t length)
Update the SHA-512 context with a portion of the message being hashed.
Definition: mimxrt1160_crypto_hash.c:666
i.MX RT1160 hardware cryptographic accelerator (CAAM)
void sha256Init(Sha256Context *context)
Initialize SHA-256 message digest context.
Definition: mimxrt1160_crypto_hash.c:371
void sha224Final(Sha224Context *context, uint8_t *digest)
Finish the SHA-224 message digest.
Definition: mimxrt1160_crypto_hash.c:290
void sha512Final(Sha512Context *context, uint8_t *digest)
Finish the SHA-512 message digest.
Definition: mimxrt1160_crypto_hash.c:689
error_t sha384Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-384.
Definition: mimxrt1160_crypto_hash.c:459
error_t sha224Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-224.
Definition: mimxrt1160_crypto_hash.c:193
void sha224Update(Sha224Context *context, const void *data, size_t length)
Update the SHA-224 context with a portion of the message being hashed.
Definition: mimxrt1160_crypto_hash.c:267
General definitions for cryptographic algorithms.
void sha256Final(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest.
Definition: mimxrt1160_crypto_hash.c:423
void sha1Final(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest.
Definition: mimxrt1160_crypto_hash.c:157
error_t sha512Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-512.
Definition: mimxrt1160_crypto_hash.c:592
Collection of hash algorithms.
void sha224Init(Sha224Context *context)
Initialize SHA-224 message digest context.
Definition: mimxrt1160_crypto_hash.c:238
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
i.MX RT1160 hash hardware accelerator
void sha384Init(Sha384Context *context)
Initialize SHA-384 message digest context.
Definition: mimxrt1160_crypto_hash.c:504
void sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: mimxrt1160_crypto_hash.c:134
void sha512Init(Sha512Context *context)
Initialize SHA-512 message digest context.
Definition: mimxrt1160_crypto_hash.c:637
void sha384Final(Sha384Context *context, uint8_t *digest)
Finish the SHA-384 message digest.
Definition: mimxrt1160_crypto_hash.c:556
void sha384Update(Sha384Context *context, const void *data, size_t length)
Update the SHA-384 context with a portion of the message being hashed.
Definition: mimxrt1160_crypto_hash.c:533
Debugging facilities.
void sha256Update(Sha256Context *context, const void *data, size_t length)
Update the SHA-256 context with a portion of the message being hashed.
Definition: mimxrt1160_crypto_hash.c:400