OpenVAS Scanner 21.4.1
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
26
29
32
35
38
41
44
47
50
53
56
59
62
65
67nasl_rsa_sign (lex_ctxt *lexic);
68
71
74
77
80
83
86
89
92
95
96int
98#endif
tree_cell * nasl_aes256_gcm_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1882
tree_cell * nasl_close_stream_cipher(lex_ctxt *)
Nasl function to delete a cipher item from the cipher table.
Definition: nasl_crypto2.c:1678
tree_cell * nasl_open_rc4_cipher(lex_ctxt *)
Nasl function to open RC4 cipher to encrypt a stream of data. The handler can be used to encrypt stre...
Definition: nasl_crypto2.c:1839
tree_cell * nasl_pem_to_rsa(lex_ctxt *lexic)
Definition: nasl_crypto2.c:489
tree_cell * nasl_rsa_public_decrypt(lex_ctxt *)
Definition: nasl_crypto2.c:961
tree_cell * nasl_aes128_ctr_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1858
tree_cell * nasl_rc4_encrypt(lex_ctxt *lexic)
Nasl function to encrypt data with a RC4 cipher. If an hd param exist in the lexix context,...
Definition: nasl_crypto2.c:1813
tree_cell * nasl_dh_compute_key(lex_ctxt *)
Definition: nasl_crypto2.c:619
tree_cell * nasl_bn_random(lex_ctxt *)
Definition: nasl_crypto2.c:322
tree_cell * nasl_bf_cbc_encrypt(lex_ctxt *)
Definition: nasl_crypto2.c:1498
tree_cell * nasl_dh_generate_key(lex_ctxt *)
Definition: nasl_crypto2.c:574
tree_cell * nasl_aes256_ctr_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1864
int generate_script_signature(char *)
tree_cell * nasl_aes128_cbc_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1846
tree_cell * nasl_dsa_do_verify(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1162
tree_cell * nasl_rsa_sign(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1098
tree_cell * nasl_bf_cbc_decrypt(lex_ctxt *)
Definition: nasl_crypto2.c:1518
tree_cell * nasl_aes256_cbc_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1852
tree_cell * nasl_bn_cmp(lex_ctxt *)
Definition: nasl_crypto2.c:285
tree_cell * nasl_rsa_public_encrypt(lex_ctxt *)
Definition: nasl_crypto2.c:770
tree_cell * nasl_des_ede_cbc_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1870
tree_cell * nasl_aes128_gcm_encrypt(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1876
tree_cell * nasl_rsa_private_decrypt(lex_ctxt *)
Definition: nasl_crypto2.c:862
tree_cell * nasl_dsa_do_sign(lex_ctxt *lexic)
Definition: nasl_crypto2.c:1251
tree_cell * nasl_pem_to_dsa(lex_ctxt *lexic)
Definition: nasl_crypto2.c:505
Definition: nasl_tree.h:105
Definition: nasl_lex_ctxt.h:34