Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// ===========================================================================
// UAMEncrypt.h � 1998-2001 Microsoft Corp. All rights reserved.
// ===========================================================================
#pragma once
#include "macssp.h"
#define kOneWayEncryptedArgSize 16
#define kServerChallengeMaxLen 8
#define kServerChallengeExtCharMapTableSize 128
#define kStartingExtendedCharValue 0x80
#define kIllegalMappedExtChar 0xFF
#define UAM_USERNAMELEN 32
#define UAM_USERNAMELEN_V3 64
#define UAM_CLRTXTPWDLEN 14
#define UAM_ENCRYPTEDPWLEN 32
//
//Added for MS2.0/MS3.0 authentication.
//
#define UAM_MAX_LMv2_PASSWORD kMaxPwdLength
Boolean UAM_GetEncryptedLmOwfPassword( char* inClearTextPassword, char* inServerChallenge, char* outEncryptedOwfPassword );
Boolean UAM_GetDoubleEncryptedLmOwfPasswords( char* inClearTextPassword, char* inKey, char* outEncryptedOwfPasswords );
|