OpenVAS Scanner
23.23.1
nasl
smb_signing.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Greenbone AG
2
* SPDX-FileCopyrightText: 2003 Jeremy Allison
3
* SPDX-FileCopyrightText: 2002-2003 Andrew Bartlett <abartlet@samba.org>
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
*/
7
12
13
/*
14
Modified by Preeti Subramanian <spreeti@secpod.com> for OpenVAS:
15
simple packet signature function argument struct smb_basic_signing_context
16
*data to uint8_t* mac_key and henceforth used mac_key in the
17
implementation
18
*/
19
20
#ifndef NASL_SMB_SIGNING_H
21
#define NASL_SMB_SIGNING_H
22
23
#include "
byteorder.h
"
24
#include "
md5.h
"
25
#include "
smb.h
"
26
27
#ifndef uchar
28
#define uchar unsigned char
29
#endif
30
31
#ifndef uint8
32
#define uint8 uint8_t
33
#endif
34
35
void
36
simple_packet_signature_ntlmssp
(uint8_t *mac_key,
const
uchar
*buf,
37
uint32
seq_number,
38
unsigned
char
*calc_md5_mac);
39
40
#endif
byteorder.h
Unix SMB/CIFS implementation. SMB Byte handling.
uint32
#define uint32
Definition
genrand.c:40
uchar
#define uchar
Definition
hmacmd5.h:22
md5.h
smb.h
Unix SMB/CIFS implementation.
simple_packet_signature_ntlmssp
void simple_packet_signature_ntlmssp(uint8_t *mac_key, const uchar *buf, uint32 seq_number, unsigned char *calc_md5_mac)
Definition
smb_signing.c:23
Generated on
for OpenVAS Scanner by
1.14.0