msp432e4_crypto_hash.c
void hashProcessData(const uint8_t *data, size_t length, uint8_t *digest, size_t digestSize)
Update hash value.
Definition: msp432e4_crypto_hash.c:79
void md5Final(Md5Context *context, uint8_t *digest)
Finish the MD5 message digest.
Definition: msp432e4_crypto_hash.c:292
void sha256FinalRaw(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest (no padding added)
Definition: msp432e4_crypto_hash.c:828
void sha1Init(Sha1Context *context)
Initialize SHA-1 message digest context.
Definition: msp432e4_crypto_hash.c:378
void md5FinalRaw(Md5Context *context, uint8_t *digest)
Finish the MD5 message digest (no padding added)
Definition: msp432e4_crypto_hash.c:333
error_t md5Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using MD5.
Definition: msp432e4_crypto_hash.c:161
void md5Init(Md5Context *context)
Initialize MD5 message digest context.
Definition: msp432e4_crypto_hash.c:189
void sha1Final(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest.
Definition: msp432e4_crypto_hash.c:483
MSP432E4 hardware cryptographic accelerator.
error_t sha1Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-1.
Definition: msp432e4_crypto_hash.c:350
void sha224Final(Sha224Context *context, uint8_t *digest)
Finish the SHA-224 message digest.
Definition: msp432e4_crypto_hash.c:595
General definitions for cryptographic algorithms.
Collection of hash algorithms.
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_chibios.c:396
void sha256Update(Sha256Context *context, const void *data, size_t length)
Update the SHA-256 context with a portion of the message being hashed.
Definition: msp432e4_crypto_hash.c:698
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: msp432e4_crypto_hash.c:644
error_t sha224Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SHA-224.
Definition: msp432e4_crypto_hash.c:542
void sha1FinalRaw(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest (no padding added)
Definition: msp432e4_crypto_hash.c:525
void sha256Final(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest.
Definition: msp432e4_crypto_hash.c:783
MSP432E4 hash hardware accelerator.
void sha224Init(Sha224Context *context)
Initialize SHA-224 message digest context.
Definition: msp432e4_crypto_hash.c:570
Debugging facilities.
void sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: msp432e4_crypto_hash.c:401
void md5Update(Md5Context *context, const void *data, size_t length)
Update the MD5 context with a portion of the message being hashed.
Definition: msp432e4_crypto_hash.c:211
void sha256Init(Sha256Context *context)
Initialize SHA-256 message digest context.
Definition: msp432e4_crypto_hash.c:672