• Home
  • Raw
  • Download

Lines Matching refs:secret_len

194 		       unsigned char *secret, int secret_len,  in chapms_verify_response()  argument
216 ChapMS(challenge, (char *)secret, secret_len, md); in chapms_verify_response()
242 unsigned char *secret, int secret_len, in chapms2_verify_response() argument
257 (char *)secret, secret_len, md, in chapms2_verify_response()
319 unsigned char *challenge, char *secret, int secret_len, in chapms_make_response() argument
324 ChapMS(challenge, secret, secret_len, response); in chapms_make_response()
385 unsigned char *challenge, char *secret, int secret_len, in chapms2_make_response() argument
404 our_name, secret, secret_len, response, auth_response, in chapms2_make_response()
579 NTPasswordHash(u_char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE]) in NTPasswordHash() argument
583 int mdlen = secret_len; in NTPasswordHash()
587 int mdlen = secret_len; in NTPasswordHash()
589 int mdlen = secret_len * 8; in NTPasswordHash()
607 ChapMS_NT(u_char *rchallenge, char *secret, int secret_len, in ChapMS_NT() argument
614 ascii2unicode(secret, secret_len, unicodePassword); in ChapMS_NT()
615 NTPasswordHash(unicodePassword, secret_len * 2, PasswordHash); in ChapMS_NT()
622 char *secret, int secret_len, u_char NTResponse[24]) in ChapMS2_NT() argument
631 ascii2unicode(secret, secret_len, unicodePassword); in ChapMS2_NT()
632 NTPasswordHash(unicodePassword, secret_len * 2, PasswordHash); in ChapMS2_NT()
641 ChapMS_LANMan(u_char *rchallenge, char *secret, int secret_len, in ChapMS_LANMan() argument
650 for (i = 0; i < secret_len; i++) in ChapMS_LANMan()
709 (char *secret, int secret_len, in GenerateAuthenticatorResponsePlain() argument
719 ascii2unicode(secret, secret_len, unicodePassword); in GenerateAuthenticatorResponsePlain()
720 NTPasswordHash(unicodePassword, secret_len * 2, PasswordHash); in GenerateAuthenticatorResponsePlain()
757 Set_Start_Key(u_char *rchallenge, char *secret, int secret_len) in Set_Start_Key() argument
764 ascii2unicode(secret, secret_len, unicodePassword); in Set_Start_Key()
765 NTPasswordHash(unicodePassword, secret_len * 2, PasswordHash); in Set_Start_Key()
872 SetMasterKeys(char *secret, int secret_len, u_char NTResponse[24], int IsServer) in SetMasterKeys() argument
878 ascii2unicode(secret, secret_len, unicodePassword); in SetMasterKeys()
879 NTPasswordHash(unicodePassword, secret_len * 2, PasswordHash); in SetMasterKeys()
888 ChapMS(u_char *rchallenge, char *secret, int secret_len, in ChapMS() argument
893 ChapMS_NT(rchallenge, secret, secret_len, &response[MS_CHAP_NTRESP]); in ChapMS()
896 ChapMS_LANMan(rchallenge, secret, secret_len, in ChapMS()
906 Set_Start_Key(rchallenge, secret, secret_len); in ChapMS()
923 char *user, char *secret, int secret_len, unsigned char *response, in ChapMS2() argument
942 secret, secret_len, &response[MS_CHAP2_NTRESP]); in ChapMS2()
945 GenerateAuthenticatorResponsePlain(secret, secret_len, in ChapMS2()
951 SetMasterKeys(secret, secret_len, in ChapMS2()