OpenVAS Scanner 21.4.1
nasl_crypto.h
Go to the documentation of this file.
1/* Based on work Copyright (C) 2002 - 2004 Tenable Network Security
2 *
3 * SPDX-License-Identifier: GPL-2.0-only
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * version 2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19/*
20 * MODIFICATION: added definitions for implementing NTLMSSP features
21 */
22
23#ifndef NASL_CRYPTO_H
24#define NASL_CRYPTO_H
25
26#include "nasl_lex_ctxt.h"
27
28#define MD4_DIGEST_LENGTH 16
29
32
35
38
41
44
47
50
53
56
59
62
65
68
71
74
77
80
83
86
89
92
95
98
101
102tree_cell *
104
105tree_cell *
107
108tree_cell *
109nasl_keyexchg (lex_ctxt *lexic);
110
111tree_cell *
113
114tree_cell *
116
117tree_cell *
118nasl_get_sign (lex_ctxt *lexic);
119
120tree_cell *
122
123tree_cell *
125
126tree_cell *
128
129#endif
tree_cell * nasl_get_smb2_sign(lex_ctxt *lexic)
Definition: nasl_crypto.c:571
tree_cell * nasl_hmac_sha384(lex_ctxt *)
Definition: nasl_crypto.c:233
tree_cell * nasl_md4(lex_ctxt *)
Definition: nasl_crypto.c:127
tree_cell * nasl_ntlmv2_hash(lex_ctxt *)
Definition: nasl_crypto.c:963
tree_cell * nasl_sha256(lex_ctxt *)
Definition: nasl_crypto.c:145
tree_cell * nasl_hmac_ripemd160(lex_ctxt *)
Definition: nasl_crypto.c:239
tree_cell * nasl_sha(lex_ctxt *)
tree_cell * nasl_hmac_sha512(lex_ctxt *)
Definition: nasl_crypto.c:565
tree_cell * nasl_ntlm2_response(lex_ctxt *lexic)
Definition: nasl_crypto.c:652
tree_cell * nasl_sha1(lex_ctxt *)
Definition: nasl_crypto.c:139
tree_cell * nasl_prf_sha256(lex_ctxt *)
Definition: nasl_crypto.c:547
tree_cell * nasl_nt_owf_gen(lex_ctxt *)
Definition: nasl_crypto.c:787
tree_cell * nasl_keyexchg(lex_ctxt *lexic)
Definition: nasl_crypto.c:725
tree_cell * nasl_hmac_dss(lex_ctxt *)
tree_cell * nasl_ntlm_response(lex_ctxt *lexic)
Definition: nasl_crypto.c:687
tree_cell * nasl_lm_owf_gen(lex_ctxt *)
Definition: nasl_crypto.c:806
tree_cell * nasl_ntv2_owf_gen(lex_ctxt *)
Definition: nasl_crypto.c:876
tree_cell * nasl_cipher_des(lex_ctxt *)
Definition: nasl_crypto.c:189
tree_cell * nasl_hmac_md5(lex_ctxt *)
Definition: nasl_crypto.c:221
tree_cell * nasl_tls1_prf(lex_ctxt *)
Definition: nasl_crypto.c:559
tree_cell * nasl_get_password(lex_ctxt *lexic)
tree_cell * nasl_ripemd160(lex_ctxt *)
Definition: nasl_crypto.c:151
tree_cell * nasl_md5(lex_ctxt *)
Definition: nasl_crypto.c:133
tree_cell * nasl_prf_sha384(lex_ctxt *)
Definition: nasl_crypto.c:553
tree_cell * nasl_get_sign(lex_ctxt *lexic)
Definition: nasl_crypto.c:246
tree_cell * nasl_hmac_md2(lex_ctxt *)
Definition: nasl_crypto.c:215
tree_cell * nasl_hmac_sha1(lex_ctxt *)
Definition: nasl_crypto.c:227
tree_cell * nasl_hmac_sha256(lex_ctxt *)
Definition: nasl_crypto.c:349
tree_cell * nasl_ntlmv2_response(lex_ctxt *lexic)
Definition: nasl_crypto.c:608
tree_cell * nasl_md2(lex_ctxt *)
Definition: nasl_crypto.c:121
tree_cell * nasl_ntlmv1_hash(lex_ctxt *)
Definition: nasl_crypto.c:755
tree_cell * nasl_insert_hexzeros(lex_ctxt *lexic)
Definition: nasl_crypto.c:835
Definition: nasl_tree.h:105
Definition: nasl_lex_ctxt.h:34