OpenVAS Scanner  6.0.0~git
nasl_crypto2.h
Go to the documentation of this file.
1 /* Based on work Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
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 #ifndef NASL_CRYPTO2_H
20 #define NASL_CRYPTO2_H
21 
22 #include "nasl_lex_ctxt.h"
23 
24 tree_cell *
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 *
55 nasl_pem_to_rsa (lex_ctxt *lexic);
56 
57 tree_cell *
58 nasl_pem_to_dsa (lex_ctxt *lexic);
59 
60 tree_cell *
61 nasl_rsa_sign (lex_ctxt *lexic);
62 
63 tree_cell *
64 nasl_dsa_do_sign (lex_ctxt *lexic);
65 
66 tree_cell *
67 nasl_rc4_encrypt (lex_ctxt *lexic);
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 int
92 #endif
tree_cell * nasl_des_ede_cbc_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1561
tree_cell * nasl_bf_cbc_decrypt(lex_ctxt *)
Definition: nasl_crypto2.c:1419
tree_cell * nasl_rsa_public_decrypt(lex_ctxt *)
Definition: nasl_crypto2.c:859
tree_cell * nasl_dsa_do_sign(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1151
tree_cell * nasl_pem_to_rsa(lex_ctxt *lexic)
Definition: nasl_crypto2.c:383
tree_cell * nasl_rsa_sign(lex_ctxt *lexic)
Definition: nasl_crypto2.c:997
tree_cell * nasl_aes256_cbc_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1543
tree_cell * nasl_aes256_gcm_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1573
tree_cell * nasl_pem_to_dsa(lex_ctxt *lexic)
Definition: nasl_crypto2.c:399
tree_cell * nasl_aes128_cbc_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1537
tree_cell * nasl_rsa_public_encrypt(lex_ctxt *)
Definition: nasl_crypto2.c:666
tree_cell * nasl_aes256_ctr_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1555
tree_cell * nasl_bn_random(lex_ctxt *)
Definition: nasl_crypto2.c:214
Definition: nasl_tree.h:104
tree_cell * nasl_dsa_do_verify(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1062
Definition: nasl_lex_ctxt.h:33
tree_cell * nasl_dh_compute_key(lex_ctxt *)
Definition: nasl_crypto2.c:514
int generate_script_signature(char *)
tree_cell * nasl_rsa_private_decrypt(lex_ctxt *)
Definition: nasl_crypto2.c:759
tree_cell * nasl_rc4_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1531
tree_cell * nasl_bn_cmp(lex_ctxt *)
Definition: nasl_crypto2.c:177
tree_cell * nasl_bf_cbc_encrypt(lex_ctxt *)
Definition: nasl_crypto2.c:1399
tree_cell * nasl_aes128_ctr_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1549
tree_cell * nasl_aes128_gcm_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1567
tree_cell * nasl_dh_generate_key(lex_ctxt *)
Definition: nasl_crypto2.c:468