OpenVAS Scanner 23.40.3
nasl_crypto2.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Greenbone AG
2 * SPDX-FileCopyrightText: 2002-2003 Michel Arboi
3 * SPDX-FileCopyrightText: 2002-2003 Renaud Deraison
4 *
5 * SPDX-License-Identifier: GPL-2.0-only
6 */
7
8#ifndef NASL_NASL_CRYPTO2_H
9#define NASL_NASL_CRYPTO2_H
10
11#include "nasl_lex_ctxt.h"
12
15
18
21
24
27
30
33
36
39
42
45
48
51
54
56nasl_rsa_sign (lex_ctxt *lexic);
57
60
63
66
69
72
75
78
81
84
87
90
93
96
99
100tree_cell *
102
103tree_cell *
105
106tree_cell *
108
109tree_cell *
111
112tree_cell *
114
115tree_cell *
117
118tree_cell *
120
121tree_cell *
123
124tree_cell *
126
127tree_cell *
129
130tree_cell *
132
133tree_cell *
134nasl_smb3kdf (lex_ctxt *lexic);
135
136int
138#endif
tree_cell * nasl_aes128_ccm_decrypt(lex_ctxt *lexic)
tree_cell * nasl_aes256_ccm_encrypt_auth(lex_ctxt *lexic)
tree_cell * nasl_aes128_gcm_encrypt_auth(lex_ctxt *lexic)
tree_cell * nasl_aes256_ccm_decrypt_auth(lex_ctxt *lexic)
tree_cell * nasl_aes_mac_cbc(lex_ctxt *lexic)
tree_cell * nasl_aes256_gcm_encrypt(lex_ctxt *lexic)
tree_cell * nasl_close_stream_cipher(lex_ctxt *)
Nasl function to delete a cipher item from the cipher table.
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...
tree_cell * nasl_pem_to_rsa(lex_ctxt *lexic)
tree_cell * nasl_rsa_public_decrypt(lex_ctxt *)
tree_cell * nasl_aes128_ccm_encrypt_auth(lex_ctxt *lexic)
tree_cell * nasl_aes128_ctr_encrypt(lex_ctxt *lexic)
tree_cell * nasl_aes128_ccm_encrypt(lex_ctxt *lexic)
tree_cell * nasl_aes128_gcm_decrypt_auth(lex_ctxt *lexic)
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,...
tree_cell * nasl_aes_mac_gcm(lex_ctxt *lexic)
tree_cell * nasl_aes256_gcm_encrypt_auth(lex_ctxt *lexic)
tree_cell * nasl_dh_compute_key(lex_ctxt *)
tree_cell * nasl_bn_random(lex_ctxt *)
tree_cell * nasl_aes256_ccm_encrypt(lex_ctxt *lexic)
tree_cell * nasl_bf_cbc_encrypt(lex_ctxt *)
tree_cell * nasl_aes256_gcm_decrypt(lex_ctxt *lexic)
tree_cell * nasl_dh_generate_key(lex_ctxt *)
tree_cell * nasl_aes256_ctr_encrypt(lex_ctxt *lexic)
int generate_script_signature(char *)
tree_cell * nasl_aes256_gcm_decrypt_auth(lex_ctxt *lexic)
tree_cell * nasl_aes128_ccm_decrypt_auth(lex_ctxt *lexic)
tree_cell * nasl_aes128_cbc_encrypt(lex_ctxt *lexic)
tree_cell * nasl_dsa_do_verify(lex_ctxt *lexic)
tree_cell * nasl_rsa_sign(lex_ctxt *lexic)
tree_cell * nasl_bf_cbc_decrypt(lex_ctxt *)
tree_cell * nasl_aes256_cbc_encrypt(lex_ctxt *lexic)
tree_cell * nasl_aes128_gcm_decrypt(lex_ctxt *lexic)
tree_cell * nasl_bn_cmp(lex_ctxt *)
tree_cell * nasl_rsa_public_encrypt(lex_ctxt *)
tree_cell * nasl_smb3kdf(lex_ctxt *lexic)
Add the SMB3KDF as specified in [SP800-108] section 5.1.
tree_cell * nasl_des_ede_cbc_encrypt(lex_ctxt *lexic)
tree_cell * nasl_aes128_gcm_encrypt(lex_ctxt *lexic)
tree_cell * nasl_rsa_private_decrypt(lex_ctxt *)
tree_cell * nasl_dsa_do_sign(lex_ctxt *lexic)
tree_cell * nasl_aes256_ccm_decrypt(lex_ctxt *lexic)
tree_cell * nasl_pem_to_dsa(lex_ctxt *lexic)
struct struct_lex_ctxt lex_ctxt
struct TC tree_cell