rx65n_crypto_hash.c
Go to the documentation of this file.
General definitions for cryptographic algorithms.
Debugging facilities.
Collection of hash algorithms.
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_chibios.c:388
void osReleaseMutex(OsMutex *mutex)
Release ownership of the specified mutex object.
Definition: os_port_chibios.c:400
RX65N hardware cryptographic accelerator (TSIP)
void sha224Init(Sha224Context *context)
Initialize SHA-224 message digest context.
Definition: rx65n_crypto_hash.c:420
e_tsip_err_t R_TSIP_Md5GenerateMessageDigestSub(const uint32_t *hashIn, const uint32_t *data, uint32_t length, uint32_t *hashOut)
void md5FinalRaw(Md5Context *context, uint8_t *digest)
Finish the MD5 message digest (no padding added)
Definition: rx65n_crypto_hash.c:210
void sha256FinalRaw(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest (no padding added)
Definition: rx65n_crypto_hash.c:581
void sha1ProcessBlock(Sha1Context *context)
Process message in 16-word blocks.
Definition: rx65n_crypto_hash.c:400
void sha1Final(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest.
Definition: rx65n_crypto_hash.c:346
void md5ProcessBlock(Md5Context *context)
Process message in 16-word blocks.
Definition: rx65n_crypto_hash.c:236
void sha256Update(Sha256Context *context, const void *data, size_t length)
Update the SHA-256 context with a portion of the message being hashed.
Definition: rx65n_crypto_hash.c:472
void sha1Update(Sha1Context *context, const void *data, size_t length)
Update the SHA-1 context with a portion of the message being hashed.
Definition: rx65n_crypto_hash.c:279
void sha256ProcessBlock(Sha256Context *context)
Process message in 16-word blocks.
Definition: rx65n_crypto_hash.c:593
void sha256Final(Sha256Context *context, uint8_t *digest)
Finish the SHA-256 message digest.
Definition: rx65n_crypto_hash.c:539
void md5Update(Md5Context *context, const void *data, size_t length)
Update the MD5 context with a portion of the message being hashed.
Definition: rx65n_crypto_hash.c:94
void sha1Init(Sha1Context *context)
Initialize SHA-1 message digest context.
Definition: rx65n_crypto_hash.c:256
e_tsip_err_t R_TSIP_Sha1GenerateMessageDigestSub(const uint32_t *hashIn, const uint32_t *data, uint32_t length, uint32_t *hashOut)
void md5Init(Md5Context *context)
Initialize MD5 message digest context.
Definition: rx65n_crypto_hash.c:72
e_tsip_err_t R_TSIP_Sha224256GenerateMessageDigestSub(const uint32_t *hashIn, const uint32_t *data, uint32_t length, uint32_t *hashOut)
void sha256Init(Sha256Context *context)
Initialize SHA-256 message digest context.
Definition: rx65n_crypto_hash.c:446
void md5Final(Md5Context *context, uint8_t *digest)
Finish the MD5 message digest.
Definition: rx65n_crypto_hash.c:161
void sha1FinalRaw(Sha1Context *context, uint8_t *digest)
Finish the SHA-1 message digest (no padding added)
Definition: rx65n_crypto_hash.c:388
RX65N hash hardware accelerator.