Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dchap_ms.c542 SHA1_CTX sha1Context; in ChallengeHash() local
552 SHA1_Init(&sha1Context); in ChallengeHash()
553 SHA1_Update(&sha1Context, PeerChallenge, 16); in ChallengeHash()
554 SHA1_Update(&sha1Context, rchallenge, 16); in ChallengeHash()
555 SHA1_Update(&sha1Context, (unsigned char *)user, strlen(user)); in ChallengeHash()
556 SHA1_Final(sha1Hash, &sha1Context); in ChallengeHash()
683 SHA1_CTX sha1Context; in GenerateAuthenticatorResponse() local
687 SHA1_Init(&sha1Context); in GenerateAuthenticatorResponse()
688 SHA1_Update(&sha1Context, PasswordHashHash, MD4_SIGNATURE_SIZE); in GenerateAuthenticatorResponse()
689 SHA1_Update(&sha1Context, NTResponse, 24); in GenerateAuthenticatorResponse()
[all …]