Searched refs:UcasePassword (Results 1 – 2 of 2) sorted by relevance
351 u_char UcasePassword[MAX_NT_PASSWORD]; /* max is actually 14 */ in ChapMS_LANMan() local355 BZERO(UcasePassword, sizeof(UcasePassword)); in ChapMS_LANMan()357 UcasePassword[i] = (u_char)toupper(secret[i]); in ChapMS_LANMan()359 DesEncrypt( StdText, UcasePassword + 0, PasswordHash + 0 ); in ChapMS_LANMan()360 DesEncrypt( StdText, UcasePassword + 7, PasswordHash + 8 ); in ChapMS_LANMan()
645 u_char UcasePassword[MAX_NT_PASSWORD]; /* max is actually 14 */ in ChapMS_LANMan() local649 BZERO(UcasePassword, sizeof(UcasePassword)); in ChapMS_LANMan()651 UcasePassword[i] = (u_char)toupper(secret[i]); in ChapMS_LANMan()652 (void) DesSetkey(UcasePassword + 0); in ChapMS_LANMan()654 (void) DesSetkey(UcasePassword + 7); in ChapMS_LANMan()