|
OpenVAS Scanner 23.32.3
|


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_cell * | nasl_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) |
| void * hmac_md5_for_prf | ( | const void * | key, |
| int | keylen, | ||
| const void * | buf, | ||
| int | buflen ) |
Definition at line 20 of file nasl_crypt_helper.c.
Referenced by tls_prf().

| void * hmac_sha1 | ( | const void * | key, |
| int | keylen, | ||
| const void * | buf, | ||
| int | buflen ) |
Definition at line 34 of file nasl_crypt_helper.c.
Referenced by tls_prf().

| void * hmac_sha256 | ( | const void * | key, |
| int | keylen, | ||
| const void * | buf, | ||
| int | buflen ) |
Definition at line 48 of file nasl_crypt_helper.c.
Referenced by nasl_hmac_sha256(), smb_sign(), and tls_prf().

| void * hmac_sha384 | ( | const void * | key, |
| int | keylen, | ||
| const void * | buf, | ||
| int | buflen ) |
Definition at line 62 of file nasl_crypt_helper.c.
Referenced by tls_prf().

| 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 ) |
Definition at line 97 of file nasl_crypt_helper.c.
Referenced by get_local_mac_address_from_ip(), nasl_get_local_mac_address_from_ip(), nasl_mac(), nasl_send_arp_request(), smb_sign(), and socket_get_ssl_ciphersuite().

Definition at line 179 of file nasl_crypt_helper.c.
References alloc_typed_cell(), CONST_DATA, get_str_var_by_name(), get_var_size_by_name(), nasl_perror(), TC::size, smb_sign(), TC::str_val, and TC::x.
Referenced by nasl_get_smb2_sign(), nasl_smb_cmac_aes_sign(), and nasl_smb_gmac_aes_sign().

