22#define uchar unsigned char
26#define ZERO_STRUCT(x) memset ((char *) &(x), 0, sizeof (x))
41#if !defined(uint16) && !defined(HAVE_UINT16_FROM_RPC_RPC_H)
42#if (SIZEOF_SHORT == 4)
43#define uint16 __ERROR___CANNOT_DETERMINE_TYPE_FOR_INT16;
45#define uint16 unsigned short
61#define UCS2_CHAR(c) ((c) << UCS2_SHIFT)
#define uint16
Definition charcnv.c:49
void hmac_md5_final(uchar *digest, HMACMD5Context *ctx)
Finish off hmac_md5 "inner" buffer and generate outer one.
Definition hmacmd5.c:64
void hmac_md5_update(const uchar *text, int text_len, HMACMD5Context *ctx)
Update hmac_md5 "inner" buffer.
Definition hmacmd5.c:55
#define uchar
Definition hmacmd5.h:22
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:82
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:24
uint16 smb_ucs2_t
Definition hmacmd5.h:52
uchar k_ipad[65]
Definition hmacmd5.h:31
struct MD5Context ctx
Definition hmacmd5.h:30
uchar k_opad[65]
Definition hmacmd5.h:32