OpenVAS Libraries  9.0.1
Functions
nasl_crypto.c File Reference
#include <gcrypt.h>
#include <glib.h>
#include "nasl_tree.h"
#include "nasl_global_ctxt.h"
#include "nasl_func.h"
#include "nasl_var.h"
#include "nasl_lex_ctxt.h"
#include "exec.h"
#include "nasl_crypto.h"
#include "hmacmd5.h"
#include "smb_crypt.h"
#include "nasl_debug.h"
#include "../misc/openvas_logging.h"
#include <ctype.h>
#include <stdlib.h>
#include <assert.h>
#include "smb.h"
#include "smb_signing.h"
#include "ntlmssp.h"

Functions

tree_cellnasl_md2 (lex_ctxt *lexic)
 
tree_cellnasl_md4 (lex_ctxt *lexic)
 
tree_cellnasl_md5 (lex_ctxt *lexic)
 
tree_cellnasl_sha1 (lex_ctxt *lexic)
 
tree_cellnasl_sha256 (lex_ctxt *lexic)
 
tree_cellnasl_ripemd160 (lex_ctxt *lexic)
 
tree_cellnasl_cipher_des (lex_ctxt *lexic)
 
tree_cellnasl_hmac_md2 (lex_ctxt *lexic)
 
tree_cellnasl_hmac_md5 (lex_ctxt *lexic)
 
tree_cellnasl_hmac_sha1 (lex_ctxt *lexic)
 
tree_cellnasl_hmac_sha384 (lex_ctxt *lexic)
 
tree_cellnasl_hmac_ripemd160 (lex_ctxt *lexic)
 
tree_cellnasl_get_sign (lex_ctxt *lexic)
 
tree_cellnasl_hmac_sha256 (lex_ctxt *lexic)
 
tree_cellnasl_prf_sha256 (lex_ctxt *lexic)
 
tree_cellnasl_prf_sha384 (lex_ctxt *lexic)
 
tree_cellnasl_hmac_sha512 (lex_ctxt *lexic)
 
tree_cellnasl_get_smb2_sign (lex_ctxt *lexic)
 
tree_cellnasl_ntlmv2_response (lex_ctxt *lexic)
 
tree_cellnasl_ntlm2_response (lex_ctxt *lexic)
 
tree_cellnasl_ntlm_response (lex_ctxt *lexic)
 
tree_cellnasl_keyexchg (lex_ctxt *lexic)
 
tree_cellnasl_ntlmv1_hash (lex_ctxt *lexic)
 
tree_cellnasl_nt_owf_gen (lex_ctxt *lexic)
 
tree_cellnasl_lm_owf_gen (lex_ctxt *lexic)
 
tree_cellnasl_insert_hexzeros (lex_ctxt *lexic)
 
tree_cellnasl_ntv2_owf_gen (lex_ctxt *lexic)
 
tree_cellnasl_ntlmv2_hash (lex_ctxt *lexic)
 

Detailed Description

This file contains all the cryptographic functions NASL has.

Function Documentation

◆ nasl_cipher_des()

tree_cell* nasl_cipher_des ( lex_ctxt lexic)

◆ nasl_get_sign()

tree_cell* nasl_get_sign ( lex_ctxt lexic)

◆ nasl_get_smb2_sign()

tree_cell* nasl_get_smb2_sign ( lex_ctxt lexic)

◆ nasl_hmac_md2()

tree_cell* nasl_hmac_md2 ( lex_ctxt lexic)

◆ nasl_hmac_md5()

tree_cell* nasl_hmac_md5 ( lex_ctxt lexic)

◆ nasl_hmac_ripemd160()

tree_cell* nasl_hmac_ripemd160 ( lex_ctxt lexic)

◆ nasl_hmac_sha1()

tree_cell* nasl_hmac_sha1 ( lex_ctxt lexic)

◆ nasl_hmac_sha256()

tree_cell * nasl_hmac_sha256 ( lex_ctxt lexic)

◆ nasl_hmac_sha384()

tree_cell* nasl_hmac_sha384 ( lex_ctxt lexic)

◆ nasl_hmac_sha512()

tree_cell* nasl_hmac_sha512 ( lex_ctxt lexic)

◆ nasl_insert_hexzeros()

tree_cell* nasl_insert_hexzeros ( lex_ctxt lexic)

◆ nasl_keyexchg()

tree_cell* nasl_keyexchg ( lex_ctxt lexic)

◆ nasl_lm_owf_gen()

tree_cell* nasl_lm_owf_gen ( lex_ctxt lexic)

◆ nasl_md2()

tree_cell* nasl_md2 ( lex_ctxt lexic)

◆ nasl_md4()

tree_cell* nasl_md4 ( lex_ctxt lexic)

◆ nasl_md5()

tree_cell* nasl_md5 ( lex_ctxt lexic)

◆ nasl_nt_owf_gen()

tree_cell* nasl_nt_owf_gen ( lex_ctxt lexic)

◆ nasl_ntlm2_response()

tree_cell* nasl_ntlm2_response ( lex_ctxt lexic)

◆ nasl_ntlm_response()

tree_cell* nasl_ntlm_response ( lex_ctxt lexic)

◆ nasl_ntlmv1_hash()

tree_cell* nasl_ntlmv1_hash ( lex_ctxt lexic)

◆ nasl_ntlmv2_hash()

tree_cell* nasl_ntlmv2_hash ( lex_ctxt lexic)

◆ nasl_ntlmv2_response()

tree_cell* nasl_ntlmv2_response ( lex_ctxt lexic)

◆ nasl_ntv2_owf_gen()

tree_cell* nasl_ntv2_owf_gen ( lex_ctxt lexic)

◆ nasl_prf_sha256()

tree_cell* nasl_prf_sha256 ( lex_ctxt lexic)

◆ nasl_prf_sha384()

tree_cell* nasl_prf_sha384 ( lex_ctxt lexic)

◆ nasl_ripemd160()

tree_cell* nasl_ripemd160 ( lex_ctxt lexic)

◆ nasl_sha1()

tree_cell* nasl_sha1 ( lex_ctxt lexic)

◆ nasl_sha256()

tree_cell* nasl_sha256 ( lex_ctxt lexic)