Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Dauth.c116 if (rfbWriteExact(cl, (char *)cl->authChallenge, CHALLENGESIZE) < 0) { in rfbVncAuthSendChallenge()
371 uint8_t response[CHALLENGESIZE]; in rfbAuthProcessClientMessage()
374 if ((n = rfbReadExact(cl, (char *)response, CHALLENGESIZE)) <= 0) { in rfbAuthProcessClientMessage()
381 if(!cl->screen->passwordCheck(cl,(const char*)response,CHALLENGESIZE)) { in rfbAuthProcessClientMessage()
Dmain.c738 uint8_t auth_tmp[CHALLENGESIZE]; in rfbCheckPasswordByList()
739 memcpy((char *)auth_tmp, (char *)cl->authChallenge, CHALLENGESIZE); in rfbCheckPasswordByList()
/external/libvncserver/common/
Dvncauth.c165 for (i = 0; i < CHALLENGESIZE; i++) { in rfbRandomBytes()
194 for (i = 0; i < CHALLENGESIZE; i += 8) { in rfbEncryptBytes()
/external/libvncserver/libvncserver/tightvnc-filetransfer/
Drfbtightserver.c65 if (rfbWriteExact(cl, (char *)cl->authChallenge, CHALLENGESIZE) < 0) { in rfbVncAuthSendChallenge()
/external/libvncserver/rfb/
Drfbproto.h1451 #define CHALLENGESIZE 16 macro
Drfb.h521 uint8_t authChallenge[CHALLENGESIZE];
/external/libvncserver/libvncclient/
Drfbproto.c621 uint8_t challenge[CHALLENGESIZE]; in HandleVncAuth()
625 if (!ReadFromRFBServer(client, (char *)challenge, CHALLENGESIZE)) return FALSE; in HandleVncAuth()
647 if (!WriteToRFBServer(client, (char *)challenge, CHALLENGESIZE)) return FALSE; in HandleVncAuth()
/external/libvncserver/x11vnc/
Dsslhelper.c1307 RAND_bytes(client->authChallenge, CHALLENGESIZE); in finish_auth()
1308 if (write_exact(client->sock, (char *) &client->authChallenge, CHALLENGESIZE)) { in finish_auth()
Dx11vnc.c4609 unsigned char buf[CHALLENGESIZE]; in main()
Dremote.c5779 char *tmp = (char *) malloc(4 + CHALLENGESIZE); in process_remote_cmd()
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
Dtight-vncviewer-full.patch12501 - CARD8 challenge[CHALLENGESIZE];
12507 + CARD8 challenge[CHALLENGESIZE];
12517 - if (!ReadFromRFBServer((char *)challenge, CHALLENGESIZE))
12544 + if (!ReadFromRFBServer((char *)challenge, CHALLENGESIZE)) {
12614 - if (!WriteExact(rfbsock, (char *)challenge, CHALLENGESIZE))
12625 + if (!WriteExact(rfbsock, (char *)challenge, CHALLENGESIZE)) {
24197 #define CHALLENGESIZE 16
24302 * Generate CHALLENGESIZE random bytes for use in challenge-response
24320 for (i = 0; i < CHALLENGESIZE; i++) {