OpenVAS Scanner  22.7.9
nasl_crypto.h
Go to the documentation of this file.
1 /* SPDX-FileCopyrightText: 2023 Greenbone AG
2  * SPDX-FileCopyrightText: 2002-2004 Tenable Network Security
3  *
4  * SPDX-License-Identifier: GPL-2.0-only
5  */
6 
7 /*
8  * MODIFICATION: added definitions for implementing NTLMSSP features
9  */
10 
11 #ifndef NASL_NASL_CRYPTO_H
12 #define NASL_NASL_CRYPTO_H
13 
14 #include "nasl_lex_ctxt.h"
15 
16 #define MD4_DIGEST_LENGTH 16
17 
18 tree_cell *
19 nasl_md2 (lex_ctxt *);
20 
21 tree_cell *
22 nasl_md4 (lex_ctxt *);
23 
24 tree_cell *
25 nasl_md5 (lex_ctxt *);
26 
27 tree_cell *
29 
30 tree_cell *
32 
33 tree_cell *
35 
36 tree_cell *
38 
39 tree_cell *
41 
42 tree_cell *
44 
45 tree_cell *
47 
48 tree_cell *
50 
51 tree_cell *
53 
54 tree_cell *
56 
57 tree_cell *
59 
60 tree_cell *
62 
63 tree_cell *
65 
66 tree_cell *
68 
69 tree_cell *
71 
72 tree_cell *
74 
75 tree_cell *
77 
78 tree_cell *
80 
81 tree_cell *
83 
84 tree_cell *
86 
87 tree_cell *
89 
90 tree_cell *
92 
93 tree_cell *
95 
96 tree_cell *
98 
99 tree_cell *
100 nasl_keyexchg (lex_ctxt *lexic);
101 
102 tree_cell *
104 
105 tree_cell *
107 
108 tree_cell *
109 nasl_get_sign (lex_ctxt *lexic);
110 
111 tree_cell *
113 
114 tree_cell *
116 
117 tree_cell *
119 
120 tree_cell *
121 nasl_hmac_sha256 (lex_ctxt *lexic);
122 
123 tree_cell *
125 
126 #endif
nasl_nt_owf_gen
tree_cell * nasl_nt_owf_gen(lex_ctxt *)
Definition: nasl_crypto.c:692
nasl_ntlm2_response
tree_cell * nasl_ntlm2_response(lex_ctxt *lexic)
Definition: nasl_crypto.c:557
nasl_hmac_sha1
tree_cell * nasl_hmac_sha1(lex_ctxt *)
Definition: nasl_crypto.c:225
nasl_ntlmv2_response
tree_cell * nasl_ntlmv2_response(lex_ctxt *lexic)
Definition: nasl_crypto.c:513
nasl_get_smb2_sign
tree_cell * nasl_get_smb2_sign(lex_ctxt *lexic)
Definition: nasl_crypto.c:495
nasl_hmac_sha384
tree_cell * nasl_hmac_sha384(lex_ctxt *)
Definition: nasl_crypto.c:231
nasl_hmac_md2
tree_cell * nasl_hmac_md2(lex_ctxt *)
Definition: nasl_crypto.c:213
nasl_prf_sha384
tree_cell * nasl_prf_sha384(lex_ctxt *)
Definition: nasl_crypto.c:477
nasl_tls1_prf
tree_cell * nasl_tls1_prf(lex_ctxt *)
Definition: nasl_crypto.c:483
nasl_lm_owf_gen
tree_cell * nasl_lm_owf_gen(lex_ctxt *)
Definition: nasl_crypto.c:711
nasl_hmac_sha512
tree_cell * nasl_hmac_sha512(lex_ctxt *)
Definition: nasl_crypto.c:489
nasl_ntlmv1_hash
tree_cell * nasl_ntlmv1_hash(lex_ctxt *)
Definition: nasl_crypto.c:660
nasl_ripemd160
tree_cell * nasl_ripemd160(lex_ctxt *)
Definition: nasl_crypto.c:149
nasl_cipher_des
tree_cell * nasl_cipher_des(lex_ctxt *)
Definition: nasl_crypto.c:187
nasl_ntlm_response
tree_cell * nasl_ntlm_response(lex_ctxt *lexic)
Definition: nasl_crypto.c:592
nasl_md2
tree_cell * nasl_md2(lex_ctxt *)
Definition: nasl_crypto.c:113
nasl_sha256
tree_cell * nasl_sha256(lex_ctxt *)
Definition: nasl_crypto.c:137
nasl_smb_gmac_aes_sign
tree_cell * nasl_smb_gmac_aes_sign(lex_ctxt *lexic)
Definition: nasl_crypto.c:507
nasl_get_password
tree_cell * nasl_get_password(lex_ctxt *lexic)
nasl_get_sign
tree_cell * nasl_get_sign(lex_ctxt *lexic)
Definition: nasl_crypto.c:244
nasl_sha512
tree_cell * nasl_sha512(lex_ctxt *)
Definition: nasl_crypto.c:143
nasl_hmac_sha256
tree_cell * nasl_hmac_sha256(lex_ctxt *)
Definition: nasl_crypto.c:270
nasl_lex_ctxt.h
nasl_ntlmv2_hash
tree_cell * nasl_ntlmv2_hash(lex_ctxt *)
Definition: nasl_crypto.c:868
nasl_prf_sha256
tree_cell * nasl_prf_sha256(lex_ctxt *)
Definition: nasl_crypto.c:471
TC
Definition: nasl_tree.h:94
struct_lex_ctxt
Definition: nasl_lex_ctxt.h:23
nasl_md5
tree_cell * nasl_md5(lex_ctxt *)
Definition: nasl_crypto.c:125
nasl_sha
tree_cell * nasl_sha(lex_ctxt *)
nasl_smb_cmac_aes_sign
tree_cell * nasl_smb_cmac_aes_sign(lex_ctxt *lexic)
Definition: nasl_crypto.c:501
nasl_ntv2_owf_gen
tree_cell * nasl_ntv2_owf_gen(lex_ctxt *)
Definition: nasl_crypto.c:781
nasl_insert_hexzeros
tree_cell * nasl_insert_hexzeros(lex_ctxt *lexic)
Definition: nasl_crypto.c:740
nasl_hmac_md5
tree_cell * nasl_hmac_md5(lex_ctxt *)
Definition: nasl_crypto.c:219
nasl_md4
tree_cell * nasl_md4(lex_ctxt *)
Definition: nasl_crypto.c:119
nasl_hmac_ripemd160
tree_cell * nasl_hmac_ripemd160(lex_ctxt *)
Definition: nasl_crypto.c:237
nasl_sha1
tree_cell * nasl_sha1(lex_ctxt *)
Definition: nasl_crypto.c:131
nasl_hmac_dss
tree_cell * nasl_hmac_dss(lex_ctxt *)
nasl_keyexchg
tree_cell * nasl_keyexchg(lex_ctxt *lexic)
Definition: nasl_crypto.c:630