OpenVAS Scanner 23.23.1
nasl_crypto_helper.h File Reference
#include "nasl_lex_ctxt.h"
#include <gpg-error.h>

Go to the source code of this file.

Functions

void * hmac_md5_for_prf (const void *key, int keylen, const void *buf, int buflen)
void * hmac_sha1 (const void *key, int keylen, const void *buf, int buflen)
void * hmac_sha256 (const void *key, int keylen, const void *buf, int buflen)
void * hmac_sha384 (const void *key, int keylen, const void *buf, int buflen)
tree_cellnasl_smb_sign (const int algo, lex_ctxt *lexic)
gpg_err_code_t mac (const char *key, const size_t key_len, const char *data, const size_t data_len, const char *iv, const size_t iv_len, int algo, int flags, char **out, size_t *out_len)

Function Documentation

◆ hmac_md5_for_prf()

void * hmac_md5_for_prf ( const void * key,
int keylen,
const void * buf,
int buflen )

◆ hmac_sha1()

void * hmac_sha1 ( const void * key,
int keylen,
const void * buf,
int buflen )

◆ hmac_sha256()

void * hmac_sha256 ( const void * key,
int keylen,
const void * buf,
int buflen )

◆ hmac_sha384()

void * hmac_sha384 ( const void * key,
int keylen,
const void * buf,
int buflen )

◆ mac()

gpg_err_code_t mac ( const char * key,
const size_t key_len,
const char * data,
const size_t data_len,
const char * iv,
const size_t iv_len,
int algo,
int flags,
char ** out,
size_t * out_len )

◆ nasl_smb_sign()

tree_cell * nasl_smb_sign ( const int algo,
lex_ctxt * lexic )