Lines Matching refs:reply
500 uchar reply[VNCchallen]; in vnc() local
536 if(readn(0, reply, sizeof(reply)) != sizeof(reply)) in vnc()
543 desECBdecrypt(reply, sizeof(reply), &s); in vnc()
544 if(memcmp(reply, chal+6, VNCchallen) != 0){ in vnc()
569 OChapreply reply; in chap() local
580 if(readn(0, &reply, sizeof(reply)) < 0) in chap()
582 safecpy(tr->uid, reply.uid, sizeof(tr->uid)); in chap()
598 s = md5(&reply.id, 1, 0, 0); in chap()
602 if(memcmp(digest, reply.resp, MD5dlen) != 0){ in chap()
643 OMSchapreply reply; in mschap() local
657 if(readn(0, &reply, sizeof(reply)) < 0) in mschap()
660 safecpy(tr->uid, reply.uid, sizeof(tr->uid)); in mschap()
675 lmok = memcmp(resp, reply.LMresp, MSresplen) == 0; in mschap()
678 ntok = memcmp(resp, reply.NTresp, MSresplen) == 0; in mschap()
679 dupe = memcmp(reply.LMresp, reply.NTresp, MSresplen) == 0; in mschap()