annotate src/md5/hmac_md5.h @ 366:41958685480d

Switched to `type *name' style Andrew Koenig's ``C Traps and Pitfalls'' (Ch.2.1) convinced me that it is best to go with the way C had been designed. The ``declaration reflects use'' concept conflicts with a ``type* name'' notation. Hence I switched.
author markus schnalke <meillo@marmaro.de>
date Thu, 22 Sep 2011 15:07:40 +0200
parents 0f36c0a46f82
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
211
0f36c0a46f82 replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents: 10
diff changeset
1 void hmac_md5(
366
41958685480d Switched to `type *name' style
markus schnalke <meillo@marmaro.de>
parents: 211
diff changeset
2 unsigned char *text, /* pointer to the message */
211
0f36c0a46f82 replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents: 10
diff changeset
3 int textlen, /* length of the message */
366
41958685480d Switched to `type *name' style
markus schnalke <meillo@marmaro.de>
parents: 211
diff changeset
4 unsigned char *key, /* pointer to the authentication key */
211
0f36c0a46f82 replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents: 10
diff changeset
5 int keylen, /* length of the key */
366
41958685480d Switched to `type *name' style
markus schnalke <meillo@marmaro.de>
parents: 211
diff changeset
6 unsigned char *digest /* pointer to allocated memory to store the computed HMAC */
211
0f36c0a46f82 replaced hmac_md5.c with an own implementation of RFC 2104
meillo@marmaro.de
parents: 10
diff changeset
7 );