OpenVAS Libraries
6.0+beta5
Main Page
Related Pages
Data Structures
Files
File List
Globals
nasl
nasl_crypto2.h
Go to the documentation of this file.
1
/* Nessus Attack Scripting Language
2
*
3
* Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2,
7
* 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#ifndef NASL_CRYPTO2_H
20
#define NASL_CRYPTO2_H
21
22
tree_cell
*
nasl_bn_random
(
lex_ctxt
*);
23
tree_cell
*
nasl_dh_generate_key
(
lex_ctxt
*);
24
tree_cell
*
nasl_bn_cmp
(
lex_ctxt
*);
25
tree_cell
*
nasl_dh_compute_key
(
lex_ctxt
*);
26
tree_cell
*
nasl_rsa_public_decrypt
(
lex_ctxt
*);
27
tree_cell
*
nasl_bf_cbc_encrypt
(
lex_ctxt
*);
28
tree_cell
*
nasl_bf_cbc_decrypt
(
lex_ctxt
*);
29
tree_cell
*
nasl_dsa_do_verify
(
lex_ctxt
* lexic);
30
tree_cell
*
nasl_pem_to_rsa
(
lex_ctxt
* lexic);
31
tree_cell
*
nasl_pem_to_dsa
(
lex_ctxt
* lexic);
32
tree_cell
*
nasl_rsa_sign
(
lex_ctxt
* lexic);
33
tree_cell
*
nasl_dsa_do_sign
(
lex_ctxt
* lexic);
34
35
36
int
generate_script_signature
(
char
*);
37
#endif
Generated by
1.8.4