Compy
0.2.0
A lightweight RTSP 1.0 server library for embedded systems
Loading...
Searching...
No Matches
md5.h
Go to the documentation of this file.
1
9
#pragma once
10
11
#include <stddef.h>
12
#include <stdint.h>
13
14
typedef
struct
{
15
uint32_t state[4];
16
uint64_t count;
17
uint8_t buffer[64];
18
}
Compy_Md5
;
19
20
void
compy_md5_init(
Compy_Md5
*ctx);
21
void
compy_md5_update(
Compy_Md5
*ctx,
const
uint8_t *data,
size_t
len);
22
void
compy_md5_final(
Compy_Md5
*ctx, uint8_t digest[16]);
23
32
void
compy_md5_hex
(
const
uint8_t *data,
size_t
len,
char
out[33]);
compy_md5_hex
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 t...
Definition
md5.c:159
Compy_Md5
Definition
md5.h:14
include
compy
priv
md5.h
Generated by
1.9.8