OpenVAS Scanner
7.0.0~git
|
Go to the documentation of this file.
37 uint32 seq_number,
unsigned char *calc_md5_mac)
40 unsigned char sequence_buf[8];
50 SIVAL (sequence_buf, 0, seq_number);
51 SIVAL (sequence_buf, 4, 0);
67 MD5Update (&md5_ctx, sequence_buf,
sizeof (sequence_buf));
#define SIVAL(buf, pos, val)
void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len)
Unix SMB/CIFS implementation. SMB Signing Code.
void MD5Init(struct MD5Context *ctx)
void simple_packet_signature_ntlmssp(uint8_t *mac_key, const uchar *buf, uint32 seq_number, unsigned char *calc_md5_mac)
void MD5Final(unsigned char digest[16], struct MD5Context *ctx)