sm3.h
Go to the documentation of this file.
void sm3Final(Sm3Context *context, uint8_t *digest)
Finish the SM3 message digest.
Definition: sm3.c:205
void sm3FinalRaw(Sm3Context *context, uint8_t *digest)
Finish the SM3 message digest (no padding added)
Definition: sm3.c:254
void sm3Update(Sm3Context *context, const void *data, size_t length)
Update the SM3 context with a portion of the message being hashed.
Definition: sm3.c:166
General definitions for cryptographic algorithms.
error_t sm3Compute(const void *data, size_t length, uint8_t *digest)
Digest a message using SM3.
Definition: sm3.c:95