Home
last modified time | relevance | path

Searched refs:ZPasswordHash (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/external/bsd/ppp/dist/pppd/
Dcrypto_ms.c197 unsigned char ZPasswordHash[24] = { in test_encrypt() local
210 DesEncrypt(Challenge, ZPasswordHash + 0, response + 0); in test_encrypt()
211 DesEncrypt(Challenge, ZPasswordHash + 7, response + 8); in test_encrypt()
212 DesEncrypt(Challenge, ZPasswordHash + 14, response + 16); in test_encrypt()
223 unsigned char ZPasswordHash[24] = { in test_decrypt() local
236 if (DesDecrypt(Response + 0, ZPasswordHash + 0, Output)) { in test_decrypt()
240 if (DesDecrypt(Response + 8, ZPasswordHash + 7, Output)) { in test_decrypt()
244 if (DesDecrypt(Response +16, ZPasswordHash +14, Output)) { in test_decrypt()
Dchap_ms.c515 u_char ZPasswordHash[24]; in ChallengeResponse() local
517 BZERO(ZPasswordHash, sizeof(ZPasswordHash)); in ChallengeResponse()
518 BCOPY(PasswordHash, ZPasswordHash, MD4_DIGEST_LENGTH); in ChallengeResponse()
522 sizeof(ZPasswordHash), ZPasswordHash); in ChallengeResponse()
525 if (DesEncrypt(challenge, ZPasswordHash + 0, response + 0) && in ChallengeResponse()
526 DesEncrypt(challenge, ZPasswordHash + 7, response + 8) && in ChallengeResponse()
527 DesEncrypt(challenge, ZPasswordHash + 14, response + 16)) in ChallengeResponse()