30 unsigned char sequence_buf[8];
40 SIVAL(sequence_buf, 0, seq_number);
41 SIVAL(sequence_buf, 4, 0);
57 MD5Update(&md5_ctx, sequence_buf,
sizeof(sequence_buf));
void simple_packet_signature_ntlmssp(uint8_t *mac_key, const uchar *buf, uint32 seq_number, unsigned char *calc_md5_mac)
#define SIVAL(buf, pos, val)
void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
void MD5Init(struct MD5Context *ctx)
void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len)