Home | History | Annotate | Download | only in pppd

Lines Matching full:sha1context

542     SHA1_CTX	sha1Context;
552 SHA1_Init(&sha1Context);
553 SHA1_Update(&sha1Context, PeerChallenge, 16);
554 SHA1_Update(&sha1Context, rchallenge, 16);
555 SHA1_Update(&sha1Context, (unsigned char *)user, strlen(user));
556 SHA1_Final(sha1Hash, &sha1Context);
683 SHA1_CTX sha1Context;
687 SHA1_Init(&sha1Context);
688 SHA1_Update(&sha1Context, PasswordHashHash, MD4_SIGNATURE_SIZE);
689 SHA1_Update(&sha1Context, NTResponse, 24);
690 SHA1_Update(&sha1Context, Magic1, sizeof(Magic1));
691 SHA1_Final(Digest, &sha1Context);
695 SHA1_Init(&sha1Context);
696 SHA1_Update(&sha1Context, Digest, sizeof(Digest));
697 SHA1_Update(&sha1Context, Challenge, sizeof(Challenge));
698 SHA1_Update(&sha1Context, Magic2, sizeof(Magic2));
699 SHA1_Final(Digest, &sha1Context);
737 SHA1_CTX sha1Context;
740 SHA1_Init(&sha1Context);
741 SHA1_Update(&sha1Context, PasswordHashHash, MD4_SIGNATURE_SIZE);
742 SHA1_Update(&sha1Context, PasswordHashHash, MD4_SIGNATURE_SIZE);
743 SHA1_Update(&sha1Context, rchallenge, 8);
744 SHA1_Final(Digest, &sha1Context);
781 SHA1_CTX sha1Context;
827 SHA1_Init(&sha1Context);
828 SHA1_Update(&sha1Context, PasswordHashHash, MD4_SIGNATURE_SIZE);
829 SHA1_Update(&sha1Context, NTResponse, 24);
830 SHA1_Update(&sha1Context, Magic1, sizeof(Magic1));
831 SHA1_Final(MasterKey, &sha1Context);
840 SHA1_Init(&sha1Context);
841 SHA1_Update(&sha1Context, MasterKey, 16);
842 SHA1_Update(&sha1Context, SHApad1, sizeof(SHApad1));
843 SHA1_Update(&sha1Context, s, 84);
844 SHA1_Update(&sha1Context, SHApad2, sizeof(SHApad2));
845 SHA1_Final(Digest, &sha1Context);
856 SHA1_Init(&sha1Context);
857 SHA1_Update(&sha1Context, MasterKey, 16);
858 SHA1_Update(&sha1Context, SHApad1, sizeof(SHApad1));
859 SHA1_Update(&sha1Context, s, 84);
860 SHA1_Update(&sha1Context, SHApad2, sizeof(SHApad2));
861 SHA1_Final(Digest, &sha1Context);