|
Compy 0.2.0
A lightweight RTSP 1.0 server library for embedded systems
|
Minimal MD5 implementation (RFC 1321). More...
#include <stddef.h>#include <stdint.h>
Go to the source code of this file.
Data Structures | |
| struct | Compy_Md5 |
Functions | |
| void | compy_md5_init (Compy_Md5 *ctx) |
| void | compy_md5_update (Compy_Md5 *ctx, const uint8_t *data, size_t len) |
| void | compy_md5_final (Compy_Md5 *ctx, uint8_t digest[16]) |
| void | compy_md5_hex (const uint8_t *data, size_t len, char out[33]) |
Computes MD5 of data and writes the result as a 32-character lowercase hex string to out (plus null terminator). | |
Minimal MD5 implementation (RFC 1321).
Public domain — derived from the RSA reference implementation. This is a private header; do not include directly from application code.
| void compy_md5_hex | ( | const uint8_t * | data, |
| size_t | len, | ||
| char | out[33] | ||
| ) |
Computes MD5 of data and writes the result as a 32-character lowercase hex string to out (plus null terminator).
| [in] | data | Input data. |
| [in] | len | Length of data. |
| [out] | out | Output buffer, must be at least 33 bytes. |