Mercurial > hg > xmms-sid
comparison src/xs_md5.h @ 660:b0743dc9165d
Change tabs to 4 spaces, everywhere.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 02 Apr 2008 22:10:05 +0300 |
parents | acaba070cf49 |
children | 4bf845090a25 |
comparison
equal
deleted
inserted
replaced
659:04ea91a61225 | 660:b0743dc9165d |
---|---|
8 #endif | 8 #endif |
9 | 9 |
10 /* Typedefs | 10 /* Typedefs |
11 */ | 11 */ |
12 typedef struct md5_state_s { | 12 typedef struct md5_state_s { |
13 guint32 bits[2]; /* message length in bits, lsw first */ | 13 guint32 bits[2]; /* message length in bits, lsw first */ |
14 guint32 buf[4]; /* digest buffer */ | 14 guint32 buf[4]; /* digest buffer */ |
15 guint8 in[64]; /* accumulate block */ | 15 guint8 in[64]; /* accumulate block */ |
16 } xs_md5state_t; | 16 } xs_md5state_t; |
17 | 17 |
18 #define XS_MD5HASH_LENGTH (16) | 18 #define XS_MD5HASH_LENGTH (16) |
19 #define XS_MD5HASH_LENGTH_CH (XS_MD5HASH_LENGTH * 2) | 19 #define XS_MD5HASH_LENGTH_CH (XS_MD5HASH_LENGTH * 2) |
20 | 20 |
21 typedef guint8 xs_md5hash_t[XS_MD5HASH_LENGTH]; | 21 typedef guint8 xs_md5hash_t[XS_MD5HASH_LENGTH]; |
22 | 22 |
23 | 23 |
24 /* Functions | 24 /* Functions |