Lines Matching full:challenge
1876 for (i = 0 ; i < sizeof(vs->challenge) ; i++)
1877 vs->challenge[i] = (int) (256.0*rand()/(RAND_MAX+1.0));
1899 memcpy(response, vs->challenge, VNC_AUTH_CHALLENGE_SIZE);
1901 /* Calculate the expected challenge response */
1909 /* Compare expected vs actual challenge response */
1911 VNC_DEBUG("Client challenge reponse did not match\n");
1921 VNC_DEBUG("Accepting VNC challenge response\n");
1933 /* Send client a 'random' challenge */
1934 vnc_write(vs, vs->challenge, sizeof(vs->challenge));
1937 vnc_read_when(vs, protocol_client_auth_vnc, sizeof(vs->challenge));