annotate src/md5/hmac_md5.h @ 80:e5090ac234cf
refactoring plus one small bugfix
replaced deep nested conditionals with early exits
fixed a small bug in the same go (Note: it is bad to fix
bugs during refactoring): The SMTP_HELO case did not break
in case of error. Now it does.
author |
meillo@marmaro.de |
date |
Sat, 19 Jun 2010 11:11:28 +0200 |
parents |
08114f7dcc23 |
children |
b8c358b2e242 |
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 */
|