annotate src/md5/hmac_md5.h @ 187:bd7c52a36b0c
improved mservdetect in various ways
errors are handled better (no segfaults anymore)
copied the relevant part of interface.c into mservdetect.c
described how I think the mserver protocol works
author |
meillo@marmaro.de |
date |
Thu, 15 Jul 2010 00:14:26 +0200 |
parents |
08114f7dcc23 |
children |
0f36c0a46f82 |
rev |
line source |
meillo@10
|
1 void
|
meillo@10
|
2 hmac_md5(unsigned char *text, int text_len, unsigned char *key, int key_len, unsigned char *digest);
|
meillo@10
|
3 /* text; pointer to data stream */
|
meillo@10
|
4 /* text_len; length of data stream */
|
meillo@10
|
5 /* key; pointer to authentication key */
|
meillo@10
|
6 /* key_len; length of authentication key */
|
meillo@10
|
7 /* digest; caller digest to be filled in */
|