Functions to support Authentication(type3 message) for NTLMSSP (NTLMv2, NTLM2, NTLM, KEY GEN)
More...
#include "byteorder.h"
#include "hmacmd5.h"
#include "md5.h"
#include "proto.h"
#include "smb_crypt.h"
Go to the source code of this file.
|
| void | ntlmssp_genauth_ntlmv2 (char *user, char *domain, char *address_list, int address_list_len, char *challenge_data, uint8_t *lm_response, uint8_t *nt_response, uint8_t *session_key, unsigned char *ntlmv2_hash) |
| void | ntlmssp_genauth_ntlm2 (char *password, uint8_t pass_len, uint8_t *lm_response, uint8_t *nt_response, uint8_t *session_key, char *challenge_data, unsigned char *nt_hash) |
| void | ntlmssp_genauth_ntlm (char *password, uint8_t pass_len, uint8_t *lm_response, uint8_t *nt_response, uint8_t *session_key, char *challenge_data, unsigned char *nt_hash, int neg_flags) |
| uint8_t * | ntlmssp_genauth_keyexchg (uint8_t *session_key, char *challenge_data, unsigned char *nt_hash, uint8_t *new_sess_key) |
Functions to support Authentication(type3 message) for NTLMSSP (NTLMv2, NTLM2, NTLM, KEY GEN)
◆ ntlmssp_genauth_keyexchg()
| uint8_t * ntlmssp_genauth_keyexchg |
( |
uint8_t * | session_key, |
|
|
char * | challenge_data, |
|
|
unsigned char * | nt_hash, |
|
|
uint8_t * | new_sess_key ) |
◆ ntlmssp_genauth_ntlm()
| void ntlmssp_genauth_ntlm |
( |
char * | password, |
|
|
uint8_t | pass_len, |
|
|
uint8_t * | lm_response, |
|
|
uint8_t * | nt_response, |
|
|
uint8_t * | session_key, |
|
|
char * | challenge_data, |
|
|
unsigned char * | nt_hash, |
|
|
int | neg_flags ) |
◆ ntlmssp_genauth_ntlm2()
| void ntlmssp_genauth_ntlm2 |
( |
char * | password, |
|
|
uint8_t | pass_len, |
|
|
uint8_t * | lm_response, |
|
|
uint8_t * | nt_response, |
|
|
uint8_t * | session_key, |
|
|
char * | challenge_data, |
|
|
unsigned char * | nt_hash ) |
◆ ntlmssp_genauth_ntlmv2()
| void ntlmssp_genauth_ntlmv2 |
( |
char * | user, |
|
|
char * | domain, |
|
|
char * | address_list, |
|
|
int | address_list_len, |
|
|
char * | challenge_data, |
|
|
uint8_t * | lm_response, |
|
|
uint8_t * | nt_response, |
|
|
uint8_t * | session_key, |
|
|
unsigned char * | ntlmv2_hash ) |