Holds state for MD5 calculations.
More...
#include "hash.h"
Holds state for MD5 calculations.
It is intended to be used like this:
...incrementally calculate the hash.
FSL_EXPORT const fsl_md5_cx fsl_md5_cx_empty
Equivalent to fsl_md5_cx_empty_m but suitable for non-const copy initialization.
FSL_EXPORT void fsl_md5_digest_to_base16(unsigned char const *digest, char *zBuf)
Converts an md5 digest value (from fsl_md5_final()'s 2nd parameter) to a 32-byte (FSL_STRLEN_MD5) CRC...
FSL_EXPORT void fsl_md5_final(fsl_md5_cx *cx, unsigned char *digest)
Finishes up the calculation of the md5 for the given context and writes a 16-byte digest value to the...
FSL_EXPORT void fsl_md5_update(fsl_md5_cx *cx, void const *buf, fsl_size_t len)
Updates cx's state to reflect the addition of the data specified by the range (buf,...
@ FSL_STRLEN_MD5
The length, in bytes, of a hex-format MD5 hash string.
Holds state for MD5 calculations.
Definition at line 97 of file hash.h.
◆ bits
| uint32_t fsl_md5_cx::bits[2] |
◆ buf
| uint32_t fsl_md5_cx::buf[4] |
◆ in
| unsigned char fsl_md5_cx::in[64] |
◆ isInit
The documentation for this struct was generated from the following file: