35 #define uchar unsigned char
39 #define ZERO_STRUCT(x) memset ((char *) &(x), 0, sizeof (x))
54 #if !defined(uint16) && !defined(HAVE_UINT16_FROM_RPC_RPC_H)
55 #if (SIZEOF_SHORT == 4)
56 #define uint16 __ERROR___CANNOT_DETERMINE_TYPE_FOR_INT16;
58 #define uint16 unsigned short
67 #ifdef WORDS_BIGENDIAN
74 #define UCS2_CHAR(c) ((c) << UCS2_SHIFT)
void hmac_md5_final(uchar *digest, HMACMD5Context *ctx)
Finish off hmac_md5 "inner" buffer and generate outer one.
Definition: hmacmd5.c:77
void hmac_md5_update(const uchar *text, int text_len, HMACMD5Context *ctx)
Update hmac_md5 "inner" buffer.
Definition: hmacmd5.c:68
#define uchar
Definition: hmacmd5.h:35
void hmac_md5(uchar key[16], uchar *data, int data_len, uchar *digest)
Function to calculate an HMAC MD5 digest from data. Use the microsoft hmacmd5 init method because the...
Definition: hmacmd5.c:95
void hmac_md5_init_limK_to_64(const uchar *key, int key_len, HMACMD5Context *ctx)
The microsoft version of hmac_md5 initialisation.
Definition: hmacmd5.c:37
uint16 smb_ucs2_t
Definition: hmacmd5.h:65
#define uint16
Definition: hmacmd5.h:58