Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dchap_ms.c482 SHA1_CTX sha1Context; in ChallengeHash() local
492 SHA1_Init(&sha1Context); in ChallengeHash()
493 SHA1_Update(&sha1Context, PeerChallenge, 16); in ChallengeHash()
494 SHA1_Update(&sha1Context, rchallenge, 16); in ChallengeHash()
495 SHA1_Update(&sha1Context, (unsigned char *)user, strlen(user)); in ChallengeHash()
496 SHA1_Final(sha1Hash, &sha1Context); in ChallengeHash()
618 SHA1_CTX sha1Context; in GenerateAuthenticatorResponse() local
622 SHA1_Init(&sha1Context); in GenerateAuthenticatorResponse()
623 SHA1_Update(&sha1Context, PasswordHashHash, MD4_SIGNATURE_SIZE); in GenerateAuthenticatorResponse()
624 SHA1_Update(&sha1Context, NTResponse, 24); in GenerateAuthenticatorResponse()
[all …]