Dallas Semiconductor DS80C400 C Libraries Home Page

Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

tini400_ntlm.h File Reference


Detailed Description

NTLM Library functions for DS80C400 processor.

This library contains functions for managing NeTwork Lan Manager(NTLM) authentication protocol

For detailed information on the DS80C400 please see the High-Speed Microcontroller User's Guide: DS80C400 Supplement.

Warning:
The functions in this library are NOT multi-process safe--that is, if you call the same method from two different processes at the same time, the parameters to the function may be destroyed, yielding unpredictable results.

Go to the source code of this file.

Data Structures

struct  _sbufhdr
struct  _type1msghdr
struct  _type1msg
struct  _type2msghdr
struct  _type2msg
struct  _type3msghdr
struct  _type3msg

Defines

#define MAX_NTLM_BUF   1024
#define NTLM_SIGN   "NTLMSSP\0"
#define NTLM_TYPE1_MSG   1
#define NTLM_TYPE3_MSG   3
#define NTLM_FLAGS   0x0000b207L

Typedefs

typedef _sbufhdr sbufhdr
typedef _type1msghdr type1msghdr
typedef _type1msg type1msg
typedef _type2msghdr type2msghdr
typedef _type2msg type2msg
typedef _type3msghdr type3msghdr
typedef _type3msg type3msg

Functions

void generate_type1_msg (type1msg *t1_msg, char *user)
 Generates type1 NTLM message.
void generate_type3_msg (type2msg *t2_msg, type3msg *t3_msg, char *user, char *pass)
 Generates type3 NTLM message.


Define Documentation

#define MAX_NTLM_BUF   1024
 

definition for maximum ntlm security buffer length.

See also:
generate_type1_msg, generate_type3_msg

#define NTLM_FLAGS   0x0000b207L
 

definition for NTLM flags

See also:
generate_type1_msg, generate_type3_msg

#define NTLM_SIGN   "NTLMSSP\0"
 

definition for NTLM signature

See also:
generate_type1_msg, generate_type3_msg

#define NTLM_TYPE1_MSG   1
 

definition for type 1 NTLM Message

See also:
generate_type1_msg

#define NTLM_TYPE3_MSG   3
 

definition for type 3 NTLM Message

See also:
generate_type3_msg


Typedef Documentation

typedef struct _sbufhdr sbufhdr
 

Structure for security buffer header

typedef struct _type1msg type1msg
 

Structure for type1 message

typedef struct _type1msghdr type1msghdr
 

Structure for type1 message header

typedef struct _type2msg type2msg
 

Structure for type2 message

typedef struct _type2msghdr type2msghdr
 

Structure for type2 message header

typedef struct _type3msg type3msg
 

Structure for type3 message

typedef struct _type3msghdr type3msghdr
 

Structure for type3 message header


Function Documentation

void generate_type1_msg type1msg t1_msg,
char *  user
 

Generates type1 NTLM message.

This function generates Type1 NTLM message that is sent to server to get type2 message. For more information, See NTLM authentication protocol specification.

Parameters:
t1_msg the NTLM type 1 message
user the user name
See also:
generate_type3_msg

void generate_type3_msg type2msg t2_msg,
type3msg t3_msg,
char *  user,
char *  pass
 

Generates type3 NTLM message.

This function generates Type3 NTLM message that contains both LAN Manager and NT LAN manager responses for server challenge.For more information, See NTLM authentication protocol specification.

Parameters:
t2_msg the type 2 NTLM message
t3_msg the type 3 NTLM message
user user name
pass password
See also:
generate_type1_msg


Copyright 2005 Dallas Semiconductor, Inc.. Documentation generated by Doxygen.